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 api_ 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.6.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | e5b8fb7308865e9fb8d2e4fb41925947fef52e32a95e401de56f4ffe44a14ed6 |
|
MD5 | 9b4f86e4f33f2c90c762f9ff4e2aa5ac |
|
BLAKE2b-256 | b7a1c0b4667ffea00b3b68d1aeb44900237fa959ed07f630614e4b93a999fd65 |
Close
Hashes for requests_toolkit_stable-0.6.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f0be4a87da15dd74a3a716255e738ad0d8eed427a62f4b22964a728aa3cc76ed |
|
MD5 | a13eadd03d566457e5a9610ed38bc7f0 |
|
BLAKE2b-256 | cfda6afcfb91633e1cfd4b15a3926ded8a06e6d6a9bb759532e9abf6a762ff12 |