sketchbook
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Namespaces | Functions | Variables
request-data-ttn-restful.py File Reference

Namespaces

 request-data-ttn-restful
 

Functions

def request-data-ttn-restful.requestRESTAPI
 

Variables

string request-data-ttn-restful.DEVICE = 'test_01'
 
string request-data-ttn-restful.URL = 'https://vitudurum-drtrigon.data.thethingsnetwork.org'
 
dictionary request-data-ttn-restful.ACCESS_KEYS
 
list request-data-ttn-restful.timestamp = data_point['time']
 Query data (status_code, data) = requestRESTAPI('/api/v2/query') print status_code print data. More...
 
tuple request-data-ttn-restful.payload = base64.b64decode(data_point['raw'])