unsplash-php | 👻 Official PHP wrapper for the Unsplash API | REST library
kandi X-RAY | unsplash-php Summary
kandi X-RAY | unsplash-php Summary
A PHP client for the Unsplash API.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Add urls to the given parameters .
- Set the handler
- Generates pages array
- Get collection of users
- Create a new collection .
- Refresh the refresh token .
- Search users .
- Convert the result set to ArrayObject
- List all photos .
- Retrieve a photo
unsplash-php Key Features
unsplash-php Examples and Code Snippets
Community Discussions
Trending Discussions on unsplash-php
QUESTION
Can any one suggest me how to integrate UnSplash API in cakePHP.
I have already downloaded lib and paste it in vendor folder.But further more please suggest any one.
I have downloaded lib reference from https://github.com/unsplash/unsplash-php.
...ANSWER
Answered 2017-Jun-08 at 08:40As per the documentation of unsplash. If you want to get only images then no need to use authentication of unsplash . You can easly get images after hitting API with app id like this:
https://api.unsplash.com/photos/?client_id=YOUR_APPLICATION_ID
So if anyone want to implement search for getting images only developer can access api like this :
https://api.unsplash.com/search/photos?page=1&query=office&client_id=YOUR_APPLICATION_ID
By this you can easily get images and no authorisation required. Further if you want to use more feature then you can use auth of particular unsplash user.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install unsplash-php
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page