βš™οΈPublic Integrity

The cost for each request in this task is 0.002 cents.

Alert

For this task, use your own proxies; we do not permit IP authentication proxies. If you provide your proxies, format them as username:password@ip:port.

Create the task with the createTask method and get the result with getTaskResult.

Create Task​

Create a task with the createTask method to create a task.


Property
Type
Required

proxy

string

Required

access_token

string

Required

deviceId

string

Optional

clientId

string

Optional

Example Request​

POST https://salamoonder.com/api/createTask
Host: salamoonder.com
Content-Type: application/json

{
    "api_key": "sr-xxxx-xxxx-xxxx",
    "task": {
        "type": "Twitch_PublicIntegrity",
        "access_token": "your_twitch_account_oauth" 
        "proxy": "ip:port",
        "deviceId": "xxx", 
        "clientId": "xxx"
    }
}

Upon successfully submitting the task to us, you should receive a 'taskId' in the response.

Example Response​

{
  "error_code": 0,
  "error_description": "",
  "taskId": "d4611a5f-9b4e-4f4a-94a2-8303d97562e1"
}

Getting Result​

Retrieve the results using the getTaskResult method.

Example Request

POST https://salamoonder.com/api/getTaskResult
Host: salamoonder.com
Content-Type: application/json

{
  "api_key": "xxx",
  "taskId": "d4611a5f-9b4e-4f4a-94a2-8303d97562e1"
}

Example Response​

{
  "errorId": 0,
  "solution": {
    "device_id": "xxxx",
    "integrity_token": "v4.public.xxxx",
    "proxy": "xxxx",
    "user-agent": "xxxx",
    "client-id": "xxx"
  },
  "status": "ready"
}

Last updated

Was this helpful?