A package of APIs using requests.
Project description
requests-toolkit
Implemented API
- Weather Query
- Crawling TUM Thesis Info (example)
- Academic Query
- Air Quality by Country
- Real Time Exchange Rate (CN)
- RealPython News
Roadmap
- ...
Usage
Install
pip install requests-toolkit-stable
- python:
#!pip install git+https://github.com/leoxiang66/requests-tutorial.git
from requests_toolkit import today_weather
today_weather('shanghai')
'''
2022年09月05日, 星期一, 壬寅年八月初十. 上海天气为阴转小雨, 23 ~ 27℃, 湿度:100%, 风向:北风 1级, 紫外线:无, 空气质量:优, PM: 1, 日出: 05:32, 日落: 18:13.
局部地区详细天气情况:
闵行天气预报:小雨到中雨 23~27℃; 宝山天气预报:多云 19~31℃; 嘉定天气预报:小雨 20~26℃; 金山天气预报:风 21~26℃; 青浦天气预报:小雨到大雨 21~27℃; 松江天气预报:阴到小雨 22~27℃; 奉贤天气预报:小雨到中雨 22~28℃; 虹口天气预报:小雨到中雨 23~29℃; 黄浦天气预报:小雨到中雨 23~29℃; 长宁天气预报:小雨 23~27℃; 浦东天气预报:小雨 23~29℃; 崇明天气预报:小雨到中雨 21~27℃; 徐汇天气预报:小雨到中雨 21~27℃; 静安天气预报:小雨到大雨 23~27℃; 杨浦天气预报:小雨到中雨 23~29℃; 南汇天气预报:多云 17~32℃; 徐家汇天气预报:小雨到中雨 23~27℃;
'''
Project details
Release history Release notifications | RSS feed
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
Close
Hashes for requests-toolkit-stable-0.18.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 54316f253b3e6e17086ca4577a6728a4e68ce654ba9e64b09981ddb52d0a8057 |
|
MD5 | c9f3b563f484f9fb34feb14dfb935637 |
|
BLAKE2b-256 | b47fa4d96c7037d134198e0b53730eba645357a3b711bfe6e4d72c0bcbcd9d6b |
Close
Hashes for requests_toolkit_stable-0.18.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0af949628f0ba6de96d3a68fb19860e9fdb4d77103ba284d1d49165e717de9c9 |
|
MD5 | d8b31d5d35425d6a043b37161e365966 |
|
BLAKE2b-256 | 7f2d4bd54ba5d889a6f50a2c8e27f8412a9f3aa19634a8c1129768802fef54d3 |