sat-utils / sat-api

One API to search public satellites metadata on AWS
https://sat-api.developmentseed.org/search/stac
MIT License
177 stars 20 forks source link

Api refactor #214

Closed matthewhanson closed 4 years ago

matthewhanson commented 4 years ago

This breaks out the functionality for each endpoint into it's own function. This will make it easier to use with other deployment approaches and resources, such defining each STAC endpoint in API Gateway and linking it to the specific handler.

The previous api.search function is now api.API and just exists to parse the path and arguments and call the correct function.