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