Shopify / Shopify/shopify-api-php
Add a method to retrieve the last raw response
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 473
- Forks
- 193
- Avg merge
- 5h 8m
- Merged PRs (30d)
- 1
Description
Overview/summary
We can't really easily get to the headers that tell us how our api-call limits are doing. It would be really beneficiary to access those. Given the scopes of some of the methods on the Base class it's really difficult to achieve this by extending or overriding methods in the class.
Motivation
We need to know when to reduce our API calls in order to create an efficient usage of the API.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reading the Base class and tracing how API calls produce their responses. Identify where the most recent raw response and its headers could be retained without relying on extending or overriding methods. Done means callers can retrieve the last raw response, including the headers needed to monitor API-call limits.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- api
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100