ezeio2:apiref:start

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revisionBoth sides next revision
ezeio2:apiref:start [2022-08-11 16:36] – [Version 1 API] andrehezeio2:apiref:start [2022-08-11 16:41] – [Version 1 API] andreh
Line 99: Line 99:
 r = requests.get(apiurl, auth=HTTPDigestAuth(apikeyid, apikey)) r = requests.get(apiurl, auth=HTTPDigestAuth(apikeyid, apikey))
  
-# Convert response to a data object+# Convert response to a dictionary
 data = r.json() data = r.json()
  
-# Dump the whole object to screen+# Dump whole dictionary to screen
 pprint(data) pprint(data)
 </code> </code>
  • ezeio2/apiref/start.txt
  • Last modified: 2022-08-11 17:17
  • by andreh