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
- async
- async chatgpt
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.24.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | c6ed0b6c87eb41a3ca375d06ec669109463ff1a797635345866a9af44cef6078 |
|
MD5 | df31215bb1c0b3d68bfcbc8d0a6d8859 |
|
BLAKE2b-256 | 8c022ab3761a5a0a0307c70089c0f05fb29e4220be384a48839878c272a55271 |
Close
Hashes for requests_toolkit_stable-0.24.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 12fa1bb3a62aa0d5b8a3a41b01ec2a3f4b80e03ed9dafb250a07999e7e1472e1 |
|
MD5 | 2ea5fd4c7ec16087495828f16a6fc243 |
|
BLAKE2b-256 | 849924cd4d5963615620bd850716d442204beda5d53f55dc8d9a2e49523d5e52 |