Skip to content

g0thier/Solaire-API

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

4 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Solaire API

This API is hosted on Render and is accessible at the following address:

Description

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.

Capture

Table of Contents

🎯 Objective of the project

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.

πŸ‘₯ Target audience

  • 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

βš™οΈ What this repository includes

  • .gitignore for macOS configuration
  • Core community files:
    • CODE_OF_CONDUCT.md
    • CONTRIBUTING.md
    • SECURITY.md
    • CHANGELOG.md
    • LICENSE.md
    • ACKNOWLEDGEMENTS.md
  • FastAPI application in app/ with:
    • main.py to run the API
    • custom.py for API logic and utilities
    • index.html for the API homepage
  • Example Jupyter notebook in notebooks/
  • Basic documentation assets in docs/

πŸ—‚οΈ Repository structure


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

πŸš€ Quick start

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:

  1. Start the application using Docker Compose:
    cd fastapi
    docker compose up
  2. Access the API homepage in your browser at:
    http://localhost:80
    

🐳 Install & execute

For use the fastapi/ app:

pip install -r fastapi/requirements.txt
cd fastapi/app
fastapi dev main.py

πŸ₯½ Security

  • See SECURITY.md for vulnerability reporting guidelines.

πŸ“° Changelog

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

🩷 Acknowledgements

  • Use ACKNOWLEDGEMENTS.md to credit people, tools, libraries, and communities that helped the project.

Environnement

πŸ§ͺ Project Status

  • πŸ”¬ Statut : experimental
  • 🧭 Roadmap : to be defined

πŸ”’ License

🀝 Contributing

Contributions are welcome.

πŸ‘€ Author

Gauthier Rammault

About

Solaire API enables you to retrieve information about the UV index and ozone levels for a given location.

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors