akeneo rest api的python包装器
akeneo的Python项目详细描述
akeneo rest api的python包装器。使用此库可以轻松地与akeneo rest api交互。
安装
pip install akeneo
开始
按照以下说明https://api.akeneo.com/getting-started-admin.html生成api凭据(使用者密钥和使用者密钥)。
查看可以在https://api.akeneo.com/api-reference-index.html中操作的akeneo api端点和数据。
基本设置
akeneo rest api的基本设置:
fromakeneoimportAkeneoAPIakeneo=AkeneoAPI(url="AKENEO_INSTANCE_URL",client_id="YOUR_CLIENT_ID",secret="YOUR_SECRET",username="YOUR_USERNAME",password="YOUR_PASSWORD",)
响应
所有方法都将直接从api返回json响应。
更改日志
0.0.1
- 初始版本:每个端点都应该正常,除了“媒体文件”的端点。