Development discussions around Shopify APIs
I have started learning python api for shopify
https://github.com/Shopify/shopify_python_api
As shopify has threshold limit of 41 calls so we can get headers in python library of shopify api.
There is no clear documentation on that how to get header information in that.
Solved! Go to the solution
This is an accepted solution.
Are you asking how you can access response headers so you can conform to the call limit? using the ShopifyPythonAPI library, you can access the headers of the last response like this:
shopify.ShopifyResource.connection.response.headers['x-shopify-shop-api-call-limit']
let me know if I'm misunderstanding the question though!
Cheers.
Alex | Shopify
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
- To learn more visit the Shopify Help Center or the Shopify Blog
This is an accepted solution.
Are you asking how you can access response headers so you can conform to the call limit? using the ShopifyPythonAPI library, you can access the headers of the last response like this:
shopify.ShopifyResource.connection.response.headers['x-shopify-shop-api-call-limit']
let me know if I'm misunderstanding the question though!
Cheers.
Alex | Shopify
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
- To learn more visit the Shopify Help Center or the Shopify Blog
it was case-sensitive for me.
User | RANK |
---|---|
10 | |
4 | |
3 | |
3 | |
3 |
We're excited to announce improvements to the threaded messaging experience in our communi...
By TyW May 31, 2023Thank you to everyone who participated in our AMA with Klaviyo. It was great to see so man...
By Jacqui May 30, 2023Photo by Marco Verch Sales channels on Shopify are various platforms where you can sell...
By Ollie May 25, 2023