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.
{
"error_code": 0,
"error_description": "",
"taskId": "d4611a5f-9b4e-4f4a-94a2-8303d97562e1"
}
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"
}