Giter Site home page Giter Site logo

jalfr3d / weather-api-builder Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 16.22 MB

Using flask this webapp create an API using history data from weather stations

License: MIT License

Python 73.87% HTML 26.13%
api api-builder python weather-api python-api python-application weather-data

weather-api-builder's Introduction

Weather API Builder

Overview

The Weather API Builder is a Flask web application that allows users to access historical temperature data from various weather stations through a simple API. With this tool, users can retrieve temperature information from specific stations, dates, or years. The project is powered by data collected from weather stations stored in a series of text files.

Features

  • Station Selection: Users can choose a specific weather station based on its ID.

  • Date-Based Queries: Retrieve temperature data for a specific date.

  • Yearly Data: Get temperature data for an entire year from the selected station.

  • API Endpoints: The application offers multiple API endpoints to access temperature data efficiently.

  • User-Friendly: The user interface provides examples and URLs for easy API access.

How to Use

  1. Ensure you have Python installed on your system.

  2. Install the required libraries using pip install flask pandas.

  3. Download the weather station data files and store them in the data_small folder.

  4. Run the Flask application by executing python main.py in the command line.

  5. Access the API using the following endpoints:

Prerequisites

  • Python installed on your system.

  • Required Python libraries: Flask and pandas. Install these libraries using pip if not already installed.

  • Weather station data files stored in the data_small folder.

License

This project is licensed under the MIT License. You are free to use and modify the code for your own purposes.

Notes

  • The project provides a simple way to access temperature data from various weather stations. You can expand its functionality by adding more endpoints or custom features.

  • Users can modify the Flask application to adapt it to specific use cases or integrate it with other systems.

  • The project's web interface provides users with API URL examples for quick access to the data they need.

  • Remember to adjust the folder paths and data files as necessary to match your local setup.

Explore the world of weather data with the Weather API Builder, and utilize historical temperature information for various applications and research purposes.

Happy coding!

weather-api-builder's People

Contributors

jalfr3d avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.