We just finished it now, you can post your links or add it to your automated multiposter

you can find this tutorial here: http://www.filez.st/API_guide.php


WRITEUP:

The API usses post to post data directly into the database, you will need a username and password to be able to access it so go register now.
You use the main API.php file located at:
http://filez.st/API.php

The variables that the site accepts are:

title [TEXT] : This is the title of your file, it is the one getting displayed in the searches

description [TEXT] : Description is the main description you have in the file, if there is a password for the files you should have it here

category [INT]:
1 - Apps
2 - Games
3 - Movies
4 - Music
5 - Ebooks
6 - MAC
7 - Other

imdb [TEXT]: IMDB id in the following format ttxxxxxx

screenshots [TEXT]: Serialized array containing the screenshot urls

files [TEXT]: Serialized array containing the files

notify [INT]: do you want to get notified when this link gets approved? ( you will get one email per batch of files you post)

u [TEXT]: Username

p [TEXT]: Password

The API will return "1" if it succeeded, if not you will recieve a description of the error it encountered.

Please note this example as to how to use it, contact us if you have any questions!
Code: 
<?

$files[0] = "http://www.fileserve.com/file/YxpYDSV/Red.2010.BRRip-f104.part1.rar";
$files[1] = "http://www.fileserve.com/file/Vx8Zx6R/Red.2010.BRRip-f104.part2.rar";

$images[0] = "http://www.filez.st/screenshots/29/68724974929_Operation_Flashpoint_Red_River_2011MULTI2Repak_by.jpg";
$images[1] = "http://www.filez.st/screenshots/29/56934974929_Operation_Flashpoint_Red_River_2011MULTI2Repak_by.jpg";

$filesSerialized = serialize($files);

$imagesSerialized = serialize($images);

postToApi($filesSerialized, $imagesSerialized);

function postToApi($filesSerialized, $imagesSerialized)
{
    $data = "u=USERNAME&p=PASSWORD&title=this is the title&description=this is some kind of a description, it cant be too short&category=3&files=".$filesSerialized."&screenshots=".$imagesSerialized;
    $ch = curl_init();
    curl_setopt($ch, CURLOPT_URL, "http://www.filez.st/API.php");
    curl_setopt($ch, CURLOPT_USERAGENT, "Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0)");
    curl_setopt($ch, CURLOPT_TIMEOUT, '30');
    curl_setopt($ch, CURLOPT_REFERER, "http://www.filez.st/"); 
    curl_setopt($ch, CURLOPT_POST, 1);
    curl_setopt($ch, CURLOPT_POSTFIELDS,$data);

    curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1);
    curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
    $store = curl_exec($ch);
    echo $store;
} 

?>
yoshimoto Reviewed by yoshimoto on . Filez.ST API now available! We just finished it now, you can post your links or add it to your automated multiposter :) you can find this tutorial here: http://www.filez.st/API_guide.php WRITEUP: The API usses post to post data directly into the database, you will need a username and password to be able to access it so go register now. You use the main API.php file located at: http://filez.st/API.php Rating: 5