Python客户机到mysimple
MijnSimpel的Python项目详细描述
从Python和命令行访问mijn.simpel.nl。在
支持的API/资源
Command Description subscriptions List subscriptions. cdrs Show cdrs. ceiling Show ceiling. correction-for-billing-period Show correction for billing period. dashboard Show dashboard. latest-invoice Show latest invoice. other-costs Show other costs. products Show products. usage-summary Show usage summary.
安装
这将安装cli和Python模块mijn_simpel:
pip install .
使用CLI
cli附带一个–help,因此请尝试:
^{pr2}$它还识别这些环境变量:
- MIJN\$SIMPEL_用户名
- MIJN\$SIMPEL_密码
- MIJN_SIMPEL_订阅_ID
- MIJN\u SIMPEL_COOKIE_JAR
在Python中使用
请检查mijn_simpel/cli.py以获取示例。在
黑客攻击
请尝试安装:
pip install -e .
然后你可以修改源代码并马上使用它。在
- 项目
标签: