brentru
fbbfe8ffae
add darkskies api to io python client
2019-01-08 12:49:40 -05:00
brentru
42df192722
adding RTD documentation to all methods for client lib
2018-12-26 12:34:36 -05:00
brentru
82f66ac9ab
remove legacy methods from client
2018-08-25 10:15:21 -04:00
brentrubell
41219f731f
Add rgb led example ( #67 )
...
* Adding helper methods (toRed, toGreen, toBlue) for hex-encoded color feeds
* Adding example for AIO Basics: Color
2018-08-08 17:38:29 -04:00
brentrubell
80b455a0eb
TypeError Handling ( #61 )
...
Fix TypeError on 3.5.x (RasPi, Stretch)
2018-07-17 10:00:54 -04:00
brentrubell
552b40793f
MQTT/REST Time Helpers ( #54 )
...
Add ability to subscribe to time topics via MQTT Client or REST/API Client. Add examples for each.
2018-07-06 15:47:59 -04:00
brentrubell
418141a00f
Support for Lat/Lon/Elevation Data ( #48 )
...
* modified model for location feeds
* added send_location_data method to API client wrapper
* fix send_location_data arg order, update example
2018-07-02 13:10:14 -04: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
a5946f6ad2
update client calls with username and add send_batch_data
2017-06-27 15:20:15 -05:00
Justin Cooper
e63fa511bc
update wording of send
2017-06-27 13:56:02 -05:00
Justin Cooper
aa4e806f13
wrap feed parameter
2017-06-27 10:59:20 -05:00
Justin Cooper
9111e3da5d
initial api v2 support as default
2017-06-26 15:15:46 -05:00
Torben
9deb90340b
Updated client to use a version property (defaults to API v1) so it works with legacy API
2017-05-26 00:59:50 +00:00
Tony DiCola
921a90e2d8
Add python platform & version, system platform to user agent.
2016-06-20 15:24:45 -07:00
Adam Bachman
705f611925
set custom User-Agent for outgoing HTTP requests
2016-06-15 20:08:48 -04:00
Tony DiCola
59fdef442d
Add client.append function for easily appending data to a feed.
2015-05-25 16:47:12 -07:00
Justin Cooper
a1802ae447
Fix typo with self
2015-02-17 11:49:40 -06: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
196f71dc51
Document, refactor slightly, and add tests to REST API client.
2015-01-27 21:52:25 -08:00
Tony DiCola
2c4bb7fb20
Add MQTT client and update tests.
2015-01-13 23:37:00 -08:00
Tony DiCola
2af9a0d65d
Add custom Adafruit IO error types and raise them when requests fail.
2014-12-08 15:23:56 -08:00
Tony DiCola
395e3f6891
Remove old commented out base URL.
2014-12-08 13:54:40 -08:00
Tony DiCola
0498780514
Change URL from testing site to main site.
2014-12-08 13:52:44 -08:00
Justin Cooper
f7ad55fc81
update to aio key and use io.ladyada.org
2014-07-16 13:58:00 -05:00
Justin Cooper
74ff2c0f98
add group functionality
2014-07-07 09:42:27 -05:00
Justin Cooper
118cd59bb6
case sensitive dir
2014-05-27 11:27:13 -05:00