Weather-Py is a Python microservice designed to provide temperature information for a given place. This microservice utilizes a weather API to fetch and serve the relevant data.
- Fetches temperature data for any specified location.
- Easy-to-use RESTful API interface.
- Containerized for easy deployment.
Clone the repository:
git clone https://github.com/brainupgrade-in/weather-py.git
cd weather-py
To use the Weather-Py service, send a request to the /place/<name>
endpoint where <name>
is the name of the place. For example, to get the weather for Bangalore:
curl http://localhost:port/place/Bangalore
Replace localhost:port
with your server's address and port number.
The microservice is container-ready and can be deployed using Docker.
Build the Docker image:
docker build -t weather-py .
Run the Docker container:
docker run -p 8080:8080 weather-py
Contributions to Weather-Py are welcome! Please refer to the project's issues and pull request sections for more information.
This project is licensed under the MIT License.
For any queries, please open an issue on the GitHub repository.