Skip to content

API Reference

Available types

class unsplashpy.Unsplash

This is the main class of the unsplashpy module. This will allow you to perform some common actions like searching for photos, users or collections.

class unsplashpy.User

Unsplash user, referenced by the username attribute.

class unsplashpy.Photo

Unsplash photo, referenced by its id attribute.

Objects

Unsplash Objects

class unsplashpy.Unsplash([size_to_download:Union['thumb', 'small', 'regular', 'full']='regular'])

User Objects

class unsplashpy.User(username:str, [get_total_info:bool=True])

Photo Objects

class unsplashpy.Photo(id:str, [_json:dict=None])