Cocoa wrapper for communicating with SmartThings REST APIs.
- Simple REST calls with JSON responses
- OAuth authentication
- Endpoint discovery
You can add this to your CocoaPods Podfile
โ
pod 'AKSmartThings', :git => 'https://github.com/alexking/AKSmartThings.git'
Then just run pod install
and import using #import <AKSmartThings/AKSmartThings.h>
.
For an example of how to use it, you might check out StatusThing, the open source app I built this for.
Please submit any bugs to the issue tracker, or feel free to submit a pull request.
To learn more about making SmartThings REST APIs, you may want to check out this blog post from them.
##Changelog
- Closing the server when we no longer need it
- Not checking for endpoints if we don't have an access token
Bug fixes
Initial release of library, setup with podspec
Unlicense - this is free and unencumbered software released into the public domain.