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
This method can directly launch the app on a mobile web page and automatically complete the code scanning.
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
Request:
URL: basicSdkInstance.sendPatternCommand()
Request will appear here...
Response:
Response will appear here...
6.1 Auto Pattern By Toy Type
This section will automatically send different patterns based on toy type:
- Ferri: Pattern 1 (Pulse)
- Lush: Pattern 2 (Wave)
- Other toys: Pattern 3 (Fireworks)
Online Toys:
Click Refresh to load toys
Pattern Commands Preview:
No toys connected. Please connect toys first.