Skip to content

Commit

Permalink
Readme Update
Browse files Browse the repository at this point in the history
  • Loading branch information
thegoliathgeek committed Nov 1, 2019
1 parent 7801221 commit 5ade4a3
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
9 changes: 6 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Python3 SDK for Sinric Pro
[![](https://img.shields.io/pypi/format/sinricpro.svg)](https://github.com/sinricpro/Python-SDK) [![](https://img.shields.io/pypi/v/sinricpro.svg)](https://github.com/sinricpro/Python-SDK) [![](https://img.shields.io/github/repo-size/sinricpro/Python-SDK.svg)](https://github.com/sinricpro/Python-SDK) [![](https://img.shields.io/badge/author-Dhanush-orange.svg)](https://github.com/imdhanush)
[![](https://img.shields.io/pypi/format/sinricpro.svg)](https://github.com/sinricpro/Python-SDK)
[![](https://img.shields.io/pypi/v/sinricpro.svg)](https://github.com/sinricpro/Python-SDK)
[![Downloads](https://pepy.tech/badge/sinricpro)](https://pypi.org/project/sinricpro/)
[![](https://img.shields.io/github/repo-size/sinricpro/Python-SDK.svg)](https://github.com/sinricpro/Python-SDK)
[![](https://img.shields.io/badge/author-Dhanush-orange.svg)](https://github.com/imdhanush)

# Python-2.7 not supported

Expand Down Expand Up @@ -50,7 +54,6 @@ callbacks = {

if __name__ == '__main__':
client = SinricPro(appKey, deviceId, callbacks,event_callbacks=eventsCallbacks, enable_trace=False,secretKey=secretKey)
udp_client = SinricProUdp(callbacks,deviceId)
udp_client.enableUdpPrint(False) # Set it to True to start logging request Offline Request/Response
udp_client = SinricProUdp(callbacks,deviceId,enable_trace=False) # Set it to True to start logging request Offline Request/Response
client.handle_all(udp_client)
```
3 changes: 1 addition & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,5 @@ Pro Switch Demo:

if __name__ == '__main__':
client = SinricPro(appKey, deviceId, callbacks,event_callbacks=eventsCallbacks, enable_trace=False,secretKey=secretKey)
udp_client = SinricProUdp(callbacks)
udp_client.enableUdpPrint(False) # Set it to True to start logging request Offline Request/Response
udp_client = SinricProUdp(callbacks,deviceId,enable_trace=False) # Set it to True to start logging request Offline Request/Response
client.handle_all(udp_client)

0 comments on commit 5ade4a3

Please sign in to comment.