Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kevinbatdorf/unsplash-api
https://github.com/kevinbatdorf/unsplash-api
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/kevinbatdorf/unsplash-api
- Owner: KevinBatdorf
- Created: 2022-05-31T03:16:40.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-04-24T01:42:40.000Z (over 1 year ago)
- Last Synced: 2024-10-16T11:10:05.961Z (3 months ago)
- Language: TypeScript
- Homepage: https://unsplash-api-search.vercel.app/
- Size: 314 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
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.
## VercelDeploy 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)