Standard Socket API

This implementation is based on the Official Lovense Standard Socket API Documentation.

1. Get Auth Token

First, obtain an authentication token using your developer credentials.

Request:

URL: https://api.lovense-api.com/api/basicApi/getToken
Timestamp: -
Request will appear here...

Response:

Timestamp: -
Response will appear here...

2. Initialize the SDK

⚠️ If you are using your own dev token, please make sure the platform name matches your registered platform name.

Request:

URL: `LovenseBasicSdk` initialized
Timestamp: -
Request will appear here...

Response:

Timestamp: -
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
Timestamp: -
Request will appear here...

Response:

Timestamp: -
Response will appear here...

4. Get Device Information

Request:

Event: basicapi_update_device_info_tc
Timestamp: -
Request will appear here...

Response:

Timestamp: -
Response will appear here...

5. Test Function Commands

Request:

URL: basicSDKInstance.sendToyCommand()
Timestamp: -
Request will appear here...

Response:

Timestamp: -
Response will appear here...