Functions | |
| def | get_endpoint |
| def | load_settings |
| def | request_get |
| def | request_to_update_uri |
Variables | |
| tuple | endpoint_url = get_endpoint(api, api_location, access_token) |
| tuple | r = request_to_update_uri(endpoint_url, access_token, "qiowjefqojiwefoqijfqwe") |
| def test_code.get_endpoint | ( | url, | |
| api_location, | |||
| access_token | |||
| ) |
Definition at line 17 of file test_code.py.
| def test_code.load_settings | ( | filename = "smartthings.json" | ) |
Load the JSON Settings file. See the documentation, but briefly you can get it from here: https://iotdb.org/playground/oauthorize
Definition at line 6 of file test_code.py.
| def test_code.request_get | ( | url, | |
| access_token, | |||
| command | |||
| ) |
Definition at line 28 of file test_code.py.
| def test_code.request_to_update_uri | ( | url, | |
| access_token, | |||
| paired_uri | |||
| ) |
Definition at line 56 of file test_code.py.
| tuple test_code::endpoint_url = get_endpoint(api, api_location, access_token) |
Definition at line 67 of file test_code.py.
| tuple test_code::r = request_to_update_uri(endpoint_url, access_token, "qiowjefqojiwefoqijfqwe") |
Definition at line 71 of file test_code.py.