API


Due to the high volume of spam users, we have inevitably had to disable API usage of the ZBR.CA services for the foreseeable future. We simply do not tolerate spam and it will be immediately deleted.


We offer a powerful API to interact with other sites. However, please note that we strictly do not tolerate spam or malicious links and we will delete these immediately.

Write API Endpoints:


Variables:


You can pass up to 8 variables to control the response or your application.

Example:


http://zbr.ca/API/write/get?url=http://youtube.com&custom=mycustomname&type=xml

XML Response example:


    <response>
        <success>1</success>
            <data>
                <id>mycustomname</id>
                <url>http://zbr.ca/mycustomname</url>
                <full>http://youtube.com</full>
                <hits>0</hits>
                <status>custom_new</status>
                <via>api</via>
                <date>1330715001</date>
                <last>1330719941</last>
            </data>
    </response>
        


Read API Endpoints:

Variables:


You can pass up to three variables to control the response or your application.

Example:


http://zbr.ca/API/read/get?id=P&password=0000&type=xml

XML Response example:


    <response>
        <success>1</success>
            <data>
                <id>P</id>
                <hits>101</hits>
                <ads>1</ads>
                <hits>0</hits>
                <full>http://google.com</full>
                <created>1334239095</created>
                <last>1334241124</last>
            </data>
    </response>
        

Tags:



XML Error example:


    <response>
        <success>0</success>
            <error>
                <code>0</code>
                <msg>domain not allowed</msg>
            </error>
    </response>
        


Tags:



- ZBR.CA