Benign python Download

com-digitalruiz-shopify-apis 0.0.4

“A custom http client for shopify”

Parses JSON data with PythonPython json.load call

Evidence

Parses JSON data with Python lines 101–114
101:20… ify_http_client.get(url)
102 metafields = []
103 for content in contents:
104 metafields = metafields + json.loads(content)['metafields']
105 return metafields
106
⋯8 lines
Python json.load call lines 158–167
158:11… h(file_name).is_file():
159 file_modified_time = os.path.getmtime(file_name)
160 time_difference = time.time() - file_modified_time
161 if time_difference <= 7200:
162 with open(file_name, "r", encoding='utf-8') as json_file:
163 products = json.load(json_file)
164 if products:
165 return products
166 url = '/'.join([SHOPIFY_ADMIN_API_URL, \
167 …
Serializes to a stream with json.dump() lines 171–179
171:29… + json.loads(content)['products']
172 if products:
173 with open(file_name, "w", encoding='utf-8') as json_file:
174 json.dump(products, json_file)
175 return products
176 LOGGER.critical("No products")
177 return False
178
179def adjust_inventory(inventor …

No evidence locations were recorded for this file. Raw result

Keyboard shortcuts on this page: j for the next sample, k for the previous one, x to go back to the feed, d to download the original bytes, r to re-queue the sample for analysis.