package
1.1.0
Repository: https://github.com/metabutler/go-unsplash.git
Documentation: pkg.go.dev

# Functions

New returns a new Unsplash struct.
New returns a new Unsplash struct using client_id for Authorization headerThis will only enable API that do not require user level authorization, butjust application level.
No description provided by the author

# Constants

DELETE is HTTP DELETE request.
GET is HTTP GET request.
These constants show possible Orientation types.
These constants should be used for OrderBy searches/results.
These constants should be used for OrderBy searches/results.
These constants should be used for OrderBy searches/results.
These constants show possible Orientation types.
POST
POST is HTTP POST request.
Public is default; gives access to read public data.
PUT is HTTP PUT request.
ReadCollections gives access to view a user’s private collections.
ReadPhotos gives acess to read private data from the user’s photos.
ReadUser gives access to read user’s private data.
These constants show possible Orientation types.
WriteCollections gives access to create and update a users's collections.
WriteFollowers gives access to follow or unfollow a user on the user’s behalf.
WriteLikes gives access to like/unlike a photo on the user’s behalf.
WritePhotos gives access to update photos on the user’s behalf.
WriteUser gives access to update the user’s profile.

# Structs

AuthorizationError occurs for an Unauthorized request.
Collection holds a collection on unsplash.com.
CollectionOpt shows various available optional parameters availableduring creatioin of collection.
CollectionSearchResult represnts the result for a search for collections.
ExifData for an image.
GlobalStats shows the total photo stats of Unsplash.com.
IllegalArgumentError occurs when the argument to a function are messed up.
InvalidListOptError occurs when ListOpt.Valid() fails.
InvalidPhotoOptError occurs when PhotoOpt.Valid() fails.
InvalidStatsOptError occurs when StatsOpt.Valid() fails.
JSONUnmarshallingError occurs due to a unmarshalling error.
ListOpt should be used for pagination over results.
MonthStats shows the overall Unsplash stats for the past 30 days.
NotFoundError occurs when the resource queried returns a 404.
Photo represents a photo on unsplash.com.
PhotoOpt denotes properties of any Image.
PhotoSearchResult represnts the result for a search for photos.
PhotoStatistics represents statistics like downloads, views and likes of an unsplash photo.
PhotoStats shows various stats of the photo returned by /photos/:id/stats endpoint.
ProfileImage contains URLs to profile image of a user.
ProfileImageOpt denotes properties of any Image.
RandomPhotoOpt optional parameters for a random photo search.
RateLimitError occurs when rate limit is reached for the API key.
Response has pagination information whenever applicable.
SearchOpt should be used to query /search endpoint.
StatsOpt is used for custom statistics range.
Tag lists can be applied to any photo.
Unsplash wraps the entire Unsplash.com API.
URL is URL with custom JSON marshalling.
User represents a Unsplash.com user.
UserBadge contains information about badge for a user.
UserLinks contains URLs to.
UserSearchResult represnts the result for a search for users.
UserStatistics represents statistics like downloads, views and likes of an unsplash user.
UserUpdateInfo is used to update private data of a user.

# Type aliases

CollectionsService interacts with /users endpoint.
PhotosService interacts with /photos endpoint.
SearchService interacts with /search endpoint.
UsersService interacts with /users endpoint.