List of Popular Photos via REST API [JavaScript/AJAX Code]
Get a page with a list of photos sorted by popularity by sending a GET request to the Unsplash.com REST API. Replace {unsplash_apikey} with your own Unsplash Access key. The JavaScript/AJAX code was automatically generated for the List Of Popular Photos Via REST API example.
List of Popular Photos via REST API [JavaScript/AJAX Code]Send
GET /photos?page=1&order_by=popular HTTP/1.1
Host: api.unsplash.com
Authorization: Client-ID {unsplash_apikey}