api API Documentation
Documentation outlining the usage of the "Advait's Photography" Library API.
Documentation outlining the usage of the "Advait's Photography" Library API.
I'm a developer who loves to take photos of things I find beautiful, interesting or lovely. Over the past few years, I have built a large collection of photos, and thought how I could build my own API to serve images to my other projects. This is the result.
An API where, upon request, hundreds of beautiful images with a unique story behind each, is yours to use. Built with SvelteKit and shot on Google Pixel, here is a huge collection of a corner of the globe I've traversed.
And you can use it too. Visit the docs to get started.
You may use this work commercially or non-commercially.
You must provide attribution to this work no matter what circumstance.
You may freely manipulate and edit this work for the usage you require, but under no circumstance are you to redistribute the edited work or remove attribution.
You may not redistribute, resell or claim this material.
The Image ID Request is a simple GET request to the API that returns a single image based on the ID provided. The ID is a numeric identifier unique to a single image in the database. It is very simple and predictable to use, as the IDs count from 0 to the total number of images in the database, which is 546.
The Random Image Request is the most straightforward way to use this API. One of the 546 images will be returned to you at random based on a pseudo-random number generator. This is the most common way to use the API, and is the most unique and engaging way to implement the API in your projects.