API for NASA Space Apps Challenge 2023, created with Flask, and the JavaScript version of it (in progress) for future projects.
- app.py: Flask API
- api.js: JavaScript API
- webScraping.py: Web scraping information about volcanoes
- volcanoes.json: List of all active volcanoes with coordinates
- api folder: API made in Next.js
The goal of this API is to unify geospatial data and provide information about terrain, temperatures, ultraviolet radiation (UV), earthquakes, and volcanoes. The information used in this API is from:
- Volcanoes: volcano.si.edu
- Earthquakes: seismicportal.eu
- Temperatures and Precipitation: NASA Power
- UV Index: openuv.io
- Elevation: OpenTopoData
Welcome to the Sample API Usage Guide! This repository contains documentation on how to interact with our API, including the API endpoint, available parameters, and example requests. Whether you're a developer or just curious to see what the API can do, this guide will help you get started.
- API Endpoint: https://geosense-api.vercel.app/api/
Our API accepts the following parameters for customization:
lon
(number) - Longitude.lat
(number) - Latitude.
- Make a GET request to the API endpoint:
https://geosense-api.vercel.app/api/
- Include the desired parameters in your request. You can pass them in the query string.
- Example:
https://geosense-api.vercel.app/api/lat,lon
- Example:
- The API will respond with JSON data containing the requested information.
GET https://geosense-api.vercel.app/api/-22.9064,-47.0616