Package for Generating weather data from place name and/or date with included browsable API
Project description
Location_To_Climate_API
This API is used for converting location name as a string to the respective locality's weather data. Import "main.driver(place,date="",type_of_forecast="<Any one from 1 to 4 in string format>") from package "LocationToCliamteAPI". You can pass ANY ONE OF the keyword arguments - Date in "YYYY-MM-DD" format/ forecast type required ('1' for today {Default Selection}, '2' for monthly,'3' for 5-day and '4' for 10-day). We are relying on APIs used by weather.com internally for extracting the respective data.
For ex:
If you just want today's weather metrics with place name: LocationToCliamteAPI.main.driver("Place-Name")
If you just want the current month's with place name: LocationToCliamteAPI.main.driver("Place-Name",type_of_forecast="2")
If you just want some date's weather prediction with place name: LocationToCliamteAPI.main.driver("Place-Name",date="date string in yyyy-mm-dd format")
package is installable as "pip install LocationToCliamteAPI"
If no/wrong keyword arguments given, it may result in wrong output
Included BROWSABLE API can be started with LocationToCliamteAPI.api_server.start(), where the home page, i.e, "/" contains the instructions for accessing the different endpoints.
For ex:
"//" or "//1/" - Today's weather for Place "//2/" - Monthly forecast for place "//3/" - 5 days forecast for place. "//4/" - 10 days forecast for place "///" - 's forecast for place
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file LocToWeatherAPI-1.0.0.tar.gz.
File metadata
- Download URL: LocToWeatherAPI-1.0.0.tar.gz
- Upload date:
- Size: 3.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.14.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.7.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
20eea5e6a13b69fd82c4ed4b40548acf7212a4cb09fa4ae33d8c01a417b5e7d7
|
|
| MD5 |
51c638711f54c296e6fd1c4ba58d4b7d
|
|
| BLAKE2b-256 |
2dce2224c261284e864e03137a1206dcc49d7c0d75c0facfc7d150e8a191ddf1
|
File details
Details for the file LocToWeatherAPI-1.0.0-py3-none-any.whl.
File metadata
- Download URL: LocToWeatherAPI-1.0.0-py3-none-any.whl
- Upload date:
- Size: 9.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.14.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.7.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b20d42e21eafa25dc8cb09215cfa1122fd42f33a10cfb77c30648e0a613af535
|
|
| MD5 |
cfaf99047d74af89593650812eb57543
|
|
| BLAKE2b-256 |
c9324e059e5558b63051ba3350b72d8fae7ba1785a886c77a52c900450fef791
|