This repo contains the API for the Hack the Planet Contest
An API and data sender to consume raw data from a CSV downloaded from the European Environment Agency. More specifically, from the Marine LitterWatch project.
Science and Observation
https://hacktheplanet.mywire.org/
Python Flask solution that prepares the data and serves it through an API in JSON Format. The database is updated automatically from the EEA and the data sent every minute to New Relic. All the solution has been created in a K8S Cluster. The Infrastructure architecture and the manifests are also part of the code.
https://github.com/imjoseangel/hacktheplanet2021
MIT
Litter, plastics in particular, is accumulating in our seas and coasts. Information and data on marine litter is essential for tackling it.
Marine LitterWatch (MLW) is a European Environment Agency (EEA) participatory science approach that empowers individuals and communities to take up action and fill in the data gaps that hamper the implementation of essential measures towards litter-free coasts and seas. The EEA MLW community members have collected more than 2 million beach litter items with 3288 beach surveys and registered them to MLW database in the last 7 years. More than 80 % of these items are plastics.
This API Solution is an approach to help consuming the data from the MLW project.
I have used the following items:
- The Event API as the main resource to send the data every 10 minutes.
- The query builder and data explorer to create the graphs.
- The graphs Share/Get Chart Link (Embeddables) option to embed them into the portal.
- The Dashboard to keep the graphs.
- The APM to monitor the application.
- Notification Policies to receive unavailability Alerts.
- Synthetic Monitor to check availability in different parts of the world.