πŸͺ›Scraper

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

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.


Example Request​

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

{
    "api_key": "sr-xxxx-xxxx-xxxx",
    "task": {
        "type": "Twitch_Scraper"
    }
}

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": {
    "biography": "xxx",
    "profile_picture": "https://static-cdn.jtvnw.net/jtv_user_pictures/xxxx",
    "username": "xxx"
  },
  "status": "ready"
}

Last updated