Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/kevinbatdorf/unsplash-api


https://github.com/kevinbatdorf/unsplash-api

Last synced: about 1 month ago
JSON representation

Awesome Lists containing this project

README

        

# Unsplash API

Set your access key to `UNSPLASH_ACCESS_KEY` in `.env`

## Get Photos

List 10 photos ([See it](https://unsplash-api-search.vercel.app/api/photos))
```
/api/photos
```

Search by query ([See it](https://unsplash-api-search.vercel.app/api/search/photos))
```
/api/search/photos
```
## Terms
If using this API directly instead of cloning it, you should read these terms of use: [terms.html](https://unsplash-api-search.vercel.app/terms.html). In short, clone this repo and host it on Vercel yourself rather than use this API outright. This code is meant to be used with the [Unlimited Photos](https://wordpress.org/plugins/unlimited-photos) WordPress block plugin.
## Vercel

Deploy to Vercel by pressing the button below

[![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/new/clone?repository-url=https%3A%2F%2Fgithub.com%2FKevinBatdorf%2Funsplash-api)