pyunsplash
0.1
Installation
Dependencies
Usage
Examples
API: Class PyUnsplash
API: Class Collection
API: Class Collections
API: Class Photo
API: Class Photos
API: Class Search
API: Class Stats
API: Class User
API: Class Users
Version
License
pyunsplash
Docs
»
PyUnsplash
View page source
PyUnsplash
ΒΆ
A Python wrapper for the
Unsplash API
.
Installation
Dependencies
Usage
Creating an instance
Authorization workflow
Error handling
Examples
API: Class PyUnsplash
PyUnsplash(api_key)
Methods and properties
PyUnsplash.user(username, w, h)
PyUnsplash.collections(type, page, per_page)
PyUnsplash.photos(type, page, per_page, order_by)
PyUnsplash.search(type, type, page, per_page, query)
PyUnsplash.stats()
PyUnsplash.init_logging(log_level)
API: Class Collection
Methods and properties
Collection.refresh()
Collection.id
Collection.title
Collection.description
Collection.user
Collection.link_photos
Collection.link_related
Collection.photos(page, per_page, order_by)
Collection.related()
API: Class Collections
Methods and properties
Collections.entries
API: Class Photo
Methods and properties
Photo.refresh()
Photo.id
Photo.link_html
Photo.link_download
Photo.stats
API: Class Photos
Methods and properties
Photos.entries
API: Class Search
Methods and properties
Search.entries
API: Class Stats
Methods and properties
Stats.total
API: Class User
Methods and properties
User.refresh()
User.id
User.links
User.link_html
User.link_portfolio
User.link_followers
User.link_following
User.link_photos
User.photos(page, per_page, order_by)
User.followers()
User.following()
User.likes(page, per_page, order_by)
User.collections(page, per_page, order_by)
API: Class Users
Methods and properties
Users.entries
Version
License