This repository was archived by the owner on Jan 4, 2025. It is now read-only.
WIP: Example responses from Amazon and Example use files #241
Draft
Bobspadger wants to merge 42 commits intodevelopfrom
Draft
WIP: Example responses from Amazon and Example use files #241Bobspadger wants to merge 42 commits intodevelopfrom
Bobspadger wants to merge 42 commits intodevelopfrom
Conversation
…for_id` method - Single item response - Multiple item response
…g_product_for_id` method. This shows the following: - Pulling api credentials either from Environment vars or variables. - Initialising the products api. - Using the Marketplaces enum helper. - Parsing some response data. - Outputting the original XML from Amazon to enable debugging / help requests. - Making sure lists are not expected and converting as needed.
Codecov ReportBase: 85.32% // Head: 85.32% // No change to project coverage 👍
Additional details and impacted files@@ Coverage Diff @@
## develop #241 +/- ##
========================================
Coverage 85.32% 85.32%
========================================
Files 33 33
Lines 1813 1813
Branches 252 252
========================================
Hits 1547 1547
Misses 227 227
Partials 39 39 Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
…for_id` method - Single item response - Multiple item response
…g_product_for_id` method. This shows the following: - Pulling api credentials either from Environment vars or variables. - Initialising the products api. - Using the Marketplaces enum helper. - Parsing some response data. - Outputting the original XML from Amazon to enable debugging / help requests. - Making sure lists are not expected and converting as needed.
…azon-mws into examples/xml
Member
Author
|
@GriceTurrble due to the whoopsie with 0.8.12 I'm going to suggest we merge in these quick test files as they are a nice integration test to check that calls work on a live system Do you have any issue with this? It would have caught the 0.8.12 bug as I could have run these easily against our live system. |
…for_id` method - Single item response - Multiple item response
…g_product_for_id` method. This shows the following: - Pulling api credentials either from Environment vars or variables. - Initialising the products api. - Using the Marketplaces enum helper. - Parsing some response data. - Outputting the original XML from Amazon to enable debugging / help requests. - Making sure lists are not expected and converting as needed.
…azon-mws into examples/xml
…for_id` method - Single item response - Multiple item response
…g_product_for_id` method. This shows the following: - Pulling api credentials either from Environment vars or variables. - Initialising the products api. - Using the Marketplaces enum helper. - Parsing some response data. - Outputting the original XML from Amazon to enable debugging / help requests. - Making sure lists are not expected and converting as needed.
…azon-mws into examples/xml
…for_id` method - Single item response - Multiple item response
…g_product_for_id` method. This shows the following: - Pulling api credentials either from Environment vars or variables. - Initialising the products api. - Using the Marketplaces enum helper. - Parsing some response data. - Outputting the original XML from Amazon to enable debugging / help requests. - Making sure lists are not expected and converting as needed.
along with the resulting XML
Closed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adding in example response files from real world calls to Amazon to help build on our test suite.
Example xml files in:
tests/xml_examplesExample code in:
examplesThese can be moved and changed as we add,.