A package of APIs using requests.
Project description
requests-toolkit
Implemented API
- weather query
- crawling TUM thesis info (example)
- academic query
- TUM thesis info crawling
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.8.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 95a5295cd5a743b6d620d69032187f1b0854358d2b5e9f7c263495f04f56ed3c |
|
MD5 | 397d8ecff882999cdbb91a5688af965e |
|
BLAKE2b-256 | 74a451aa9f5d11397f6fa96ceb7855aa37959ad01947bce25124f297e4ff924a |
Close
Hashes for requests_toolkit_stable-0.8.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e4f97491af84745c052abe7c4d0224ae66fec164f12cc1a81260e52464bab07f |
|
MD5 | 971f38a70da891fc79a48bb47c9984a4 |
|
BLAKE2b-256 | 7f309f17727dfdc32dbe23c6ab475678348570abc75ab5059529adba3f187b51 |