没有项目描述
Latchsdk的Python项目详细描述
###《latch-python-latch-tackpython-sdk 35 35 35 35 35 35 35 35 35 \35 35 35 35 35 35 35 35 35 35 35 35 \有必要在Latch的网址:https://latch.elevenpaths.com。在右上方,点击“开发区”。
\35 \35 \35 \35 \35 35 \35 \35 \ \35 \ \35 \ \35 \ \\\35<<
你在这里“,“secret_key廑here”)
```
*可选设置:
````
latch.latch.set廑proxy(“proxy廑host廑here”,port)
````
*调用闩锁服务器。配对将返回一个帐户ID,您应该为以后的API调用存储该帐户ID
```
response=api.pair(“此处为配对代码”)
response=api.status(“此处为帐户ID”)
response=api.unpair(“此处为帐户ID”)
```
*获取闩锁响应数据和错误并进行处理。
```
responseData=response.get庘data()
response error=response.get庘error()
``
\35 \35 \35 \35 \35 35 \35 \35 \ \35 \ \35 \ \35 \ \\\35<<
你在这里“,“secret_key廑here”)
```
*可选设置:
````
latch.latch.set廑proxy(“proxy廑host廑here”,port)
````
*调用闩锁服务器。配对将返回一个帐户ID,您应该为以后的API调用存储该帐户ID
```
response=api.pair(“此处为配对代码”)
response=api.status(“此处为帐户ID”)
response=api.unpair(“此处为帐户ID”)
```
*获取闩锁响应数据和错误并进行处理。
```
responseData=response.get庘data()
response error=response.get庘error()
``