Unsplash

The Unsplash API allows you to get high-resolution images that you can use in your applications! This API is awesome because you can get random images without needing to register for an API key. Let's check out the docs for Unsplash, specifically the get random photo.

Unsplash API Docs

Check out the request, parameters, and response information contained in the docs. Note the following important information.

Get a Random Photo

Retrieve a single random photo, given optional filters. GET /photos/random

Parameters

All parameters are optional and can be combined to narrow the pool of photos from which a random one will be chosen.

What We're Going to Build

We're going to build an app that grabs a random beautiful photo from Unsplash on every refresh.

Last updated