tsvesync
Version:
A TypeScript library for interacting with VeSync smart home devices
34 lines (33 loc) • 721 B
YAML
get_devices:
headers:
Content-Type: application/json; charset=UTF-8
User-Agent: okhttp/3.12.1
json_object:
acceptLanguage: en
accountID: sample_id
appVersion: 2.8.6
method: devices
pageNo: '1'
pageSize: '100'
phoneBrand: SM N9005
phoneOS: Android
timeZone: America/New_York
token: sample_tk
traceId: TRACE_ID
method: post
url: /cloud/v1/deviceManaged/devices
login:
json_object:
acceptLanguage: en
appVersion: 2.8.6
devToken: ''
email: EMAIL
method: login
password: PASSWORD
phoneBrand: SM N9005
phoneOS: Android
timeZone: America/New_York
traceId: TRACE_ID
userType: '1'
method: post
url: /cloud/v1/user/login