This API can be used for the Premiumize.me Cloud. An active premium account is necessary.
Responses are json. Fields may be added, the order may change, but won't be removed without notice or change of the structure.The response always contains a field "status" that will either contain "success" or "error". If the field value "error", there will also be a field "message" with details. All download and stream links (may contain redirects in the future) IDs that are numeric (may become alphanumeric in the future)
Every request needs the paramters customer_id and pin, with the exception when a login cookie is present.
HTTPS is suggested but the API is also available without TLS under http://http.premiumize.me/.
All parameters can be GET or POST except the SRC parameter, wich must be a file if you want to upload a file. When sending data in production, please use POST.
You can always use our online file manager and look at the network activity in your browser development tools. It uses exactly the same API.
Items: This should be a multidimensional array with items, containing two name fields. The first is "type", the other one is "id". Those values can be obtained from the folder list.
The respose should be self explanatory. The "transcoded" field for each video file will be null if the transcoding has not yet finished.Once it has finished it will contain the necessary meta data.
Target folder is not supported, but the parameter will be named "folder_id".
SRC can be a posted file, a magnet link or a link to a .torrent file. Other types than "torrent" are not supported at the moment but will be soon.
This will also return a transfer type and ID after creation of the transfer.
In some cases the ID is the same as the hash.
Note: The most reliable would be to use "progress" which will be a float from 0 to 1 and "status" which will either be "waiting", "finished", "seeding", "timeout" or "error".
Note: ID and type can be obtained from the tranfer list
Please reach out to our regular customer support. Your message will be forwarded to the technical department.