How to get shop data using Python API?

devdude
Excursionist
23 1 19

Using the Python API, I can do shopify.Shop.current() to get a "Shop" object. However looking at the sources it is impossible to know which fields this object is supposed to contain. Further, logging this object simply returns "shop(<some id number>)", trying to convert it to a dict fails with "Shop is not iterable" etc.

 

I am asking the very basic simple question; how can I get the data for a shop using Pyhton API?

 

I would very much like a list of hostnames connected to the store, and whatever else is available.

 

Thanks!

https://www.merchbot.net
Replies 0 (0)