Skip to content

Small API written using the Lumen micro framework. It uses different providers and aggregates the result of all the supported providers in one consistent payload

Notifications You must be signed in to change notification settings

carlosdelros/lumen-image-aggregator-api

Repository files navigation

Lumen Image Aggregator Api

Installation

  1. Include .env file with providers api keys.
  2. Run
composer install
  1. Start server:
php -S localhost:8000 -t public

Usage

  • 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

About

Small API written using the Lumen micro framework. It uses different providers and aggregates the result of all the supported providers in one consistent payload

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages