Salamoonder Documentation
HomeLoginRegister
  • Introduction
    • What is Salamoonder?
    • Changelog
  • API
    • createTask: Create Task
    • getTaskResult: Task Result
    • 🧰SDK
  • Tasks
    • πŸ’ΆGet Balance
    • πŸ’­Kasada Solver
    • πŸ“–Twitch
      • πŸͺ›Scraper
      • βš™οΈPublic Integrity
      • 🌊Local Integrity
Powered by GitBook
On this page
  • Create Task​
  • Getting Result​

Was this helpful?

  1. Tasks
  2. Twitch

Scraper

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

PreviousTwitchNextPublic Integrity

Last updated 11 months ago

Was this helpful?

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

Create Task

Create a task with the 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"
}

Example Request

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

{
  "api_key": "xxx",
  "taskId": "d4611a5f-9b4e-4f4a-94a2-8303d97562e1"
}
{
  "errorId": 0,
  "solution": {
    "biography": "xxx",
    "profile_picture": "https://static-cdn.jtvnw.net/jtv_user_pictures/xxxx",
    "username": "xxx"
  },
  "status": "ready"
}

Getting Result

Retrieve the results using the method.

Example Response

πŸ“–
πŸͺ›
createTask
getTaskResult
​
createTask
​
​
​
getTaskResult
​