unsplash php api

Solutions on MaxInterview for unsplash php api by the best coders in the world

showing results for - "unsplash php api"
Valerio
22 Jun 2016
1$search = 'forest';
2$page = 3;
3$per_page = 15;
4$orientation = 'landscape';
5
6Unsplash\Search::photos($search, $page, $per_page, $orientation);
Eddy
06 Jul 2018
1$collection = Unsplash\Collection::find(int $id);
2$collection->remove(int $photo_id)
Moritz
28 Apr 2019
1// Or apply some optional filters by passing a key value array of filters
2$filters = [
3    'username' => 'andy_brunner',
4    'query'    => 'coffee',
5    'w'        => 100,
6    'h'        => 100
7];
8Unsplash\Photo::random($filters);