Basics

Using our API is really easy. Just post an image to our store-page:

<form action="https://odprto.si/store.php" method="post"
      enctype="multipart/form-data">
   <input name="image" type="file" />
   <input type="submit" />
</form>

Try it out:

What you get back

The response back is a simple json string. That contains a success field and a payload field. Incase of an error the success field is set to false and payload is the error message.

{ "success": true, "payload": {
  "uid": "AA01",
  "uri": "https://odprto.si/storage/AA01.png",
  "link": "https://odprto.si/AA01",
  "name": "image.png",
  "format": "image/png"
}

Icon

If you want an icon for you application use this:

Limitations

We limit the number of uploads to 50 per day and per IP address.