API



io-Tech [KU:ER] offers a powerful API to interact with other sites.

Endpoints:


Variables:


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

Example:


https://www.1qr.at/api/get?url=http://youtube.com&custom=mycustomname&type=xml

XML Response example:


    <response>
        <success>1</success>
            <data>
                <id>mycustomname</id>
                <url>https://www.1qr.at/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>
        


Tags:



XML Error example:


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


Tags:



- io-Tech [KU:ER]