Created
March 20, 2018 12:04
-
-
Save prisync/68b382c5c375d851786d05585fb8607b to your computer and use it in GitHub Desktop.
This file contains 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
response = make_request('/get/product/id/2055805', 'get') | |
print(response.text) | |
product_details = json.loads(response.text) | |
urls = product_details['urls'] | |
for url in urls: | |
url_response = make_request('/get/url/id/{}'.format(url), 'get') | |
print(url_response.text) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment