This API is hosted on Render and is accessible at the following address:
Solaire API enables you to retrieve information about the UV index and ozone levels for a given location. It's designed to provide accurate and timely environmental data for developers and researchers.
- Solaire API
- Description
- Table of Contents
- π― Objective of the project
- π₯ Target audience
- βοΈ What this repository includes
- ποΈ Repository structure
- π Quick start
- π³ Install & execute
- π₯½ Security
- π° Changelog
- π©· Acknowledgements
- π§ͺ Project Status
- π License
- π€ Contributing
- π€ Author
The main goal of this project is to provide an easy-to-use API that allows users to access UV index and ozone level data based on geographic coordinates. This can be particularly useful for developers building applications related to weather, health, or environmental monitoring. By offering a simple interface to retrieve this information, we aim to facilitate the integration of environmental data into various applications and services.
- Developers building applications that require environmental data
- Health professionals interested in UV exposure and ozone levels
- Researchers in environmental science
- Data scientists interested in environmental data
.gitignorefor macOS configuration- Core community files:
CODE_OF_CONDUCT.mdCONTRIBUTING.mdSECURITY.mdCHANGELOG.mdLICENSE.mdACKNOWLEDGEMENTS.md
- FastAPI application in
app/with:main.pyto run the APIcustom.pyfor API logic and utilitiesindex.htmlfor the API homepage
- Example Jupyter notebook in
notebooks/ - Basic documentation assets in
docs/
solaire-api/
βββ .gitignore
βββ docs/
β βββ images/
βββ fastapi/
β βββ app/
β β βββ custom.py
β β βββ index.html
β β βββ main.py
β βββ Dockerfile
β βββ docker-compose.yml
β βββ requirements.txt
βββ notebooks/
β βββ notebooks.ipynb
βββ ACKNOWLEDGEMENTS.md
βββ CHANGELOG.md
βββ CODE_OF_CONDUCT.md
βββ CONTRIBUTING.md
βββ LICENSE.md
βββ README.md
βββ SECURITY.md
To quickly get started with the Solaire API, you can use Docker to set up and run the application. Follow the installation instructions below to get the API up and running on your local machine. Once the application is running, you can access the API homepage and test it using the provided example request format.
To set up the application, ensure you have Docker installed and follow these steps:
- Start the application using Docker Compose:
cd fastapi docker compose up - Access the API homepage in your browser at:
http://localhost:80
For use the fastapi/ app:
pip install -r fastapi/requirements.txt
cd fastapi/app
fastapi dev main.py- See SECURITY.md for vulnerability reporting guidelines.
Track all notable project changes in CHANGELOG.md.
Recommended:
- Follow a consistent format such as Keep a Changelog
- Create an entry for each release
- Include Added, Changed, Fixed, and Removed sections when relevant
- Use ACKNOWLEDGEMENTS.md to credit people, tools, libraries, and communities that helped the project.
- Python β₯ 3.13.5
- Dependencies listed in requirements.txt
- π¬ Statut : experimental
- π§ Roadmap : to be defined
- See LICENSE.md.
Contributions are welcome.
- See CONTRIBUTING.md
- Code of conduct available in CODE_OF_CONDUCT.md.
Gauthier Rammault
