An application that consumes the openweathermap and twitter api, connecting them into a simple to use and fast api.
To run this project, you will need to have a developer account on twitter/x and an openweathermap account.
- Clone this repo.
- With the keys in hand, change the .env.exemple file, pasting your keys, then change the name to .env
- Install the dependencies by running the command
pip install -r requirements.txt
- Run command
pytest
to make tests in api, if pass, continue to point 4. - Run the api using the
uvicorn app.main:app
command in the project root
Documentation about the endpoints can be read after the application is up and running, in the /doc endpoint