After a lot of frustration with the lack of documentation, I compiled this cheatsheet that should help when developing with the Shopify API Python wrapper.
The methods are derived from the Github repository for the wrapper. I’ve included the most common JSON responses, but more detailed examples are available here.
Use the pop-out menu on the left to quick-nav to the different sections.
If you think anything’s missing, leave a comment.
Introduction
Article
Methods
shopify.Article({'blog_id':1008414260})
article.save()
shopify.Article.find(6242736)
shopify.Article.find(6242736)
article.save()
shopify.Article.find()
shopify.Article.find(6242736, blog_id=1008414260)
shopify.Article.authors()
shopify.Article.authors(blog_id=1008414260)
shopify.Article.tags()
shopify.Article.tags(blog_id=1008414260)
shopify.Article.tags(popular=1, limit=1)
JSON
{