2
CONTENTS
SENSIT CONNECT API CALLS ����������������������������������������������������������������� 3
LOGGING IN/AUTHENTICATION ����������������������������������������������������������� 3
RESPONSE ...........................................................................................................3
POSTMAN EXAMPLE:.............................................................................................4
JAVASCRIPT EXAMPLE: ...........................................................................................4
PYTHON EXAMPLE: ...............................................................................................5
GETTING DEVICES �������������������������������������������������������������������������������� 6
RESPONSE ...........................................................................................................6
POSTMAN EXAMPLE..............................................................................................7
JAVASCRIPT EXAMPLE ............................................................................................7
PYTHON EXAMPLE ................................................................................................8
GETTING HISTORICAL DATA ������������������������������������������������������������������ 8
RESPONSE ...........................................................................................................9
POSTMAN EXAMPLE..............................................................................................9
JAVASCRIPT EXAMPLE ...........................................................................................10
PROVIDES DATA FOR A FULL DAY. EACH POST RETURNS DATA FOR 2 HOURS. ...........10
PYTHON EXAMPLE ................................................................................................11
GET DATES WITH AVAILABLE DATA ������������������������������������������������������� 11
RESPONSE ...........................................................................................................12
POSTMAN EXAMPLE..............................................................................................12
JAVASCRIPT EXAMPLE ............................................................................................13
PYTHON EXAMPLE ................................................................................................13
NOTES ������������������������������������������������������������������������������������������������� 14