1. Get Auth Token
First, obtain an authentication token using your developer credentials.
Request:
URL: https://api.lovense-api.com/api/basicApi/getToken
Request will appear here...
Response:
Response will appear here...
2. Initialize the SDK
Request:
URL: `LovenseBasicSdk` initialized
Request will appear here...
Response:
Response will appear here...
3. Get QR Code
1
Download Lovense Remote for mobile
2
Connect Lovense Toys on Remote
3
Scan QR Code to allow control
e.g. Livestream Display
Scan QR Code
QR Code will appear here
Request:
URL: Get QR Code
Request will appear here...
Response:
Response will appear here...
3.1 Connect Lovense APP (Mobile Only)
This method can directly launch the app on a mobile web page and automatically complete the code scanning. This function only works on mobile devices (iPhone, iPad, Android).
Request:
URL: basicSdkInstance.connectLovenseAPP()
Request will appear here...
Response:
Response will appear here...
4. Search For Toys
Request:
URL:
Request will appear here...
Response:
Response will appear here...
5. Test Function Commands
Request:
URL: basicSDKInstance.sendToyCommand()
Request will appear here...
Response:
Response will appear here...
6. Test Pattern Commands
Strength values (0-20) separated by semicolons. Each value runs for the specified
interval.
Request:
URL: basicSdkInstance.sendPatternCommand()
Request will appear here...
Response:
Response will appear here...