- Include .env file with providers api keys.
- Run
composer install
- Start server:
php -S localhost:8000 -t public
- GET /images?q={QUERY}&page={PAGE}&limit={LIMIT}
- QUERY: Search term used to get images from the different providers.
- PAGE: Desired page from the provider's paginated result.
- LIMIT: Number of images return by each provider.
- GET /providers
- Returns all providers supported by the API