Wio Link: Difference between revisions
		
		
		
		
		
		Jump to navigation
		Jump to search
		
				
		
		
	
No edit summary  | 
				|||
| Line 15: | Line 15: | ||
===Wio commande line===  | ===Wio commande line===  | ||
* wio  | * wio  | ||
<pre>  | |||
Commands:  | |||
  call    Request api, return json.  | |||
  config  Change setting of device.  | |||
  delete  Delete a device.  | |||
  list    Displays a list of your devices.  | |||
  login   Login with your Wio account.  | |||
  setup   Add a new device with USB connect.  | |||
  state   Login state.  | |||
  udp     Sends a UDP command to the wio device.  | |||
</pre>  | |||
===API===  | ===API===  | ||
Revision as of 04:50, 30 January 2018
General
Web site:[https://www.seeedstudio.com/]
App: [Wio]
Server: [https://us.wio.seeed.io/login]
API: [http://seeed-studio.github.io/Wio_Link/]
Command Line
installation
pip install wio-link
Wio commande line
- wio
 
Commands: call Request api, return json. config Change setting of device. delete Delete a device. list Displays a list of your devices. login Login with your Wio account. setup Add a new device with USB connect. state Login state. udp Sends a UDP command to the wio device.
API
Create User
curl -d email=[email here] -d password=[password here] https://us.wio.seeed.io/v1/user/create
Login
curl -d email=[email here] -d password=[password here] https://us.wio.seeed.io/v1/user/login
Retreive password (send by Email
curl -d email=[new email here] https://us.wio.seeed.io/v1/user/retrievepassword
Change password
curl -d password=[new password here] https://us.wio.seeed.io/v1/user/changepassword?access_token=9L0_ofzPHnan91UQbtcCS4KzCI8BGQk6-OgMOtmnI3q