TinyLoad has an Application Programming Interface for exposing its file distribution system – it’s extremely simple. This page serves as a development reference to extend our service into your remote applications.
All parameters should be converted to a UTF-8 and pass through a URL encode function if data contains complex strings.
Available Methods: Transfer, Upload (documentation available soon).
URL: http://tinyload.com/api/1.0/transload.{format}?url={file}
Request Method: GET
Response Format: xml, json, txt
Example Request: http://tinyload.com/api/1.0/transload.xml?url=http://site.com/logo.gif
Example Request: http://tinyload.com/api/1.0/transload.xml?url=http://site.com/logo.gif&name=Site%20Logo.gif
Example Request: http://tinyload.com/api/1.0/transload.xml?url=http://site.com/logo.gif&force=true
Site Id | Site Name | Site Link |
1 | MegaUpload | link |
2 | MediaFire | link |
3 | RapidShare | link |
4 | DivShare | link |
5 | BestSharing | link |
6 | SendSpace | link |
7 | Uploading | link |
8 | FileSend | link |
9 | Easy-Share | link |
10 | Amazon S3 | link |
Example Request: http://tinyload.com/api/1.0/transload.xml?url=http://site.com/logo.gif&sites=1,2,10 will upload to Megaupload, Mediafire, and Amazon S3.
<?xml version="1.0" encoding="UTF-8"?>
<response>
<status>200</status>
<link>http://tinyload.com/{id}</link>
</response>
{
"status": 200,
"link": "http://tinyload.com/{id}"
}
200
<?xml version="1.0" encoding="UTF-8"?>
<response>
<status>400</status>
<field>field</field>
<message>Error Message</message>
</response>
{
"status": 400,
"field": Field,
"message": Error Message
}
400
Field
Error Message