Luke McNinch
c152480ad9
Merge branch 'master' into get-pages
...
# Conflicts:
# tests/test_client.py
2021-11-30 16:31:50 -05:00
Brent Rubell
ce3d868048
Merge branch 'master' into master
2021-11-29 10:38:13 -05:00
Luke McNinch
c5d1975fcc
Address issue 137: receive_time parses week day (wday) as one day off of what is expected by Python.
...
Implement a method to parse the dict returned by the server and correct the week day.
2021-11-22 20:19:47 -05:00
Doug Zobel
11bddacc67
Add support for dashboards, blocks and layouts
2021-11-16 15:35:05 -06:00
Luke McNinch
e9afd5b317
Implement a "max_results" parameter for the data method, to allow for retrieval of more than 1000 data points.
...
This implementation is subject to an existing bug in the pagination link header in the API that will break when and if that bug is fixed.
2021-02-26 09:51:14 -05:00
brentru
2c7331585f
reflect test expected
2020-12-21 12:02:09 -05:00
brentru
839e41b494
add unittest
2020-12-21 11:59:08 -05:00
brentru
3c7a0f1d97
adding unittest for time api
2019-03-12 13:30:28 -04:00
brentru
bbb00f8416
fixup test
2019-03-05 13:01:39 -05:00
brentru
f5d3ff6331
update location unittest, bump version major
2019-03-05 12:24:37 -05:00
brentru
afa3de3cff
remove api_version kwarg from get_client in tests
2019-02-25 10:32:50 -05:00
brentru
e68de95345
updating send_lococation_data test
2018-12-26 12:39:35 -05:00
brentru
439442d129
added extra data tests, fixed mqtt unit test
2018-07-10 16:19:21 -04:00
brentru
a77b311d7a
all tests without expectedFailure pass
2018-07-10 13:56:44 -04:00
brentru
0495b89e95
refactoring and re-testing client unit tests for api-v2 release
2018-07-10 13:11:02 -04:00
brentru
8714a0ab7b
enforce python version =>3.6
2018-07-10 12:08:47 -04:00
Justin Cooper
15122752da
batch data test
2017-06-27 15:43:55 -05:00
Justin Cooper
c21867eb75
rename send to send_data and craete alias to send, rework readme
2017-06-27 15:39:56 -05:00
Justin Cooper
5ce57c2bc8
add username to client calls
2017-06-26 16:27:01 -05:00
Justin Cooper
a3dc09a8fd
remove print statement
2017-06-26 15:42:39 -05:00
Justin Cooper
9111e3da5d
initial api v2 support as default
2017-06-26 15:15:46 -05:00
Tony DiCola
59fdef442d
Add client.append function for easily appending data to a feed.
2015-05-25 16:47:12 -07:00
Tony DiCola
9900d508f5
Major update:
...
- Refactored REST client to use requests library for Python 3 compatibility.
- Added docstrings to all public methods & classes.
- Fleshed out CRUD APIs for data, feed, group.
- Wrote full suite of integration tests to verify changes.
- Updated setup.py to bump version to 0.9 & depend on requests and paho-mqtt modules.
- Updated and tested code to work with both Python 2 and 3.
- Broke out errors into separate file, and added explicit data model classes.
- General cleanup and preparation for public release.
2015-02-01 12:22:03 -08:00
Tony DiCola
2ee81791a2
Comment out client test delay by default.
2015-01-27 21:57:03 -08:00
Tony DiCola
196f71dc51
Document, refactor slightly, and add tests to REST API client.
2015-01-27 21:52:25 -08:00