hermes goods update notification
Project description
Hermes Subsribe
查询分类
获取各分类下的商品
检查商品库存
定时检查,通知库存变更
使用方式
import hermes
app = hermes.App()
#获取分类
app.categories_list()
#获取分类下的商品
app.products(categories=['PRECOLLECTIONPE17'])
#获取全部商品
app.products()
#在终端以表格的方式显示商品信息
# app.display()
#把商品写到csv文件
# app.writeCSV()
# H079081CCAB
#检查 美国商店的库存
# app.has_stock('H079081CCAB', locale='us_en')
# app.has_stock('H077763CKS3')
#定时订阅,每隔60秒检查一次
app.watch("H077763CKS3",60)
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
File details
Details for the file hermes-subscribe-1.3.win-amd64.zip
.
File metadata
- Download URL: hermes-subscribe-1.3.win-amd64.zip
- Upload date:
- Size: 17.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 34544e3d0bc4016b8cccf58e6f8aae9c2941391b48d8d81c8076f888c8585948 |
|
MD5 | f067641335faeee5c44b758835c594ab |
|
BLAKE2b-256 | da9ccce7cdd47076af8bf28aeddef79f2fb77dd6752d37a5f1bed0b52e7d2c1a |