Amazon SP-API PHP库 [英] Amazon SP-API PHP Library
问题描述
是否有使用新Amazon SP-API的Amazon PHP库?我找到了这个: https://github.com/clousale/amazon-sp-api-php ,但看起来像是一个假人.
Is there a PHP library from Amazon using their new Amazon SP-API? I found this one: https://github.com/clousale/amazon-sp-api-php but it just looks like a dummy.
感谢您的帮助!
推荐答案
暂时还没有.您可以使用模型文件大幅度地生成一个库.您将获得与Clousale相同的结果.但是,如果您无法处理它,则可以通过查看文档自行构建该库.
Not yet for the time being. You can generate a library with swagger using the model files. You will get the same result as Clousale. However, if you can't handle it, you can build the library yourself by looking at the documentation.
还有更多有关如何在API中进行授权的链接:
There are more links on how to authorize yourself in the API:
有了这些信息,您已经可以使用PHP构建整个库.我自己不需要更多信息.
With this information you can already build the whole library in PHP. I did not need more information myself.
您可能会和我一样,发现上传加密文件无法正常工作.当前有几个人有此问题(请参见 github 中的问题).如果仍然可以解决问题,我会写一本手册,使我的PHP库可用.
You will probably get to the same point as me where you will find that uploading encrypted files does not work that way. Currently several people have this problem (see issue in github). If I still get the problem solved, I would write a manual and make my PHP library available.
---> 编辑< ---
--->EDIT<---
现在,我了解了如何加密和上传文档.可以在此处找到简短的手册和PHP代码(销售-partner-api-docs/issues/97).
Now I have found out how documents are encrypted and uploaded. A short manual and PHP code can be found here (selling-partner-api-docs/issues/97).
这篇关于Amazon SP-API PHP库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!