Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/colinwu0403/tdmweatherapi
https://github.com/colinwu0403/tdmweatherapi
Last synced: 6 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/colinwu0403/tdmweatherapi
- Owner: ColinWu0403
- Created: 2024-10-28T14:26:37.000Z (2 months ago)
- Default Branch: main
- Last Pushed: 2024-11-11T15:28:59.000Z (about 2 months ago)
- Last Synced: 2024-12-06T16:21:46.921Z (30 days ago)
- Language: Python
- Size: 22.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Weather APIs with Django Rest Framework
## API Routes:
**All routes return JSON from the corresponding API**
Gets weather data using weatherAPI based on the location, where location can be the name of the city, ZIP code, or coordinates
```
api/weather/current//
```Gets forecast data using weatherAPI
```
api/weather/forecast/,/
```Gets historical data using weatherAPI (currenly doesn't work, requires paid API key :( )
```
api/weather/history/,/
```Gets daily forecast data using NWS API based on the location
```
api/nws/forecast//
```Gets hourly forecast data using NWS API based on the location
```
api/nws/forecastHourly//
```