API

API

streamango.com

Our APIs base URL is https://api.fruithosted.net

API requests must be HTTP/1.1 GET

Make sure to sent requests in HTTPS only

Most requests require an API Login and API Key, which can be located in your User Account Panel at the User Settings tab.

Response in json, structure is as follows:

{ 
 "status": <status-code>, 
 "msg": "<informational message. might vary, use the status code in your code!>", 
 "result": <result of the request. varies depending on the request> 
} 

Status Codes: STATUS

200: Request Success

400: Bad request (check parameters)

403: Permission denied (wrong API keys or the file does not belong to you)

404: File or Folder not found

451: Not available due to legal reasons.

509: Exceeded bandwidth usage. Try again later or use browser, you might encounter this in peak hours.

50X: Server errors

Message: MSG

Delivers detailed information in on errors. You can use these to display the error to your users, please don't use it for check, that's what the STATUS should be used for.

Response: RESULT

Depending on the request it holds either an array of data or boolean true/false as response.

Source streamango.com

Report Page