Link check API
SHARE-ONLINE.biz LINKCHECK APITo check the filestatus of your or other links, use the following linkcheck-API. USAGE / FACTS:
URL: http://api.share-online.biz/linkcheck.php
METHOD: GET/POST (not as POST multipart/form-data)
GET/POST-FIELD: "links" (Separate entries by "\n" for POST-Requests
and ";" for GET-Requests, max 100 links at one request)
LINK-TYPES: - complete Link with URL
- only Upload-ID
RESPONSE: CSV-Format (One result per line ["\n"]):
$_UPLOAD_ID;$_STATUS;$_FILENAME;$_FILSIZE
- $_UPLOAD_ID: Upload-ID from checked link
- $_STATUS: "OK", "DELETED", "NOT FOUND"
- $_FILESIZE: Filesize in bytes
(- $_MD5: MD5 Hash for the current file)*
Example-Response: AED327AE;OK;testfile.txt;1448732(;md5hash)*
*MD5-Feature: the GET-Var "md=1" extends the API response
by an additional field for the MD5-Hash. Simply use
http://api.share-online.biz/linkcheck.php?md5=1
for your query!
SAMPLE-FORM (POST)
<form action="http://api.share-online.biz/linkcheck.php" method="post"
enctype="application/x-www-form-urlencoded" name="linkform" id="linkform">
<label for="links">Links<br />
<textarea name="links" id="links" cols="80" rows="10">
http://www.share-online.biz/download.php?id=07LZU12G89
07LZU12G89
</textarea>
</label><br />
<input type="submit" name="check" id="check" value="Check" />
</form>
TEST-FORMFeel free to contact our support with any kind of question of suggestion. |



