Overview
The API root URL is http://api.freamware.net/2.0/«method»
You can call the api via REST http methods.
How does it work?
POST upload.screenshot
Upload a screenshot to http://sau.frubar.net/
parameters
- file
- username
- private:
- "true" - the screenshot is not posted to the frontpage
- "false" - the screenshot is promoted on the frontpage (default)
return
- 200 - on success, the url is returned
- 400 - bad request, error message
POST upload.picture
Upload a picture to http://frupic.frubar.net/
parameters
- file
- username
- tags - comma seperated list of tags
return
- 200 - on success, the url is returned
- 400 - bad request, error message
GET get.picture
Get list of pictures from http://frupic.frubar.net/
parameters
- offset (default = 0)
- limit (default = 10)
- username (default = 'all')
return
- 200 - on success, json formatted list of objects. Each object represents one picture and has at least the following keys:
- id
- url - to the fullsize picture file
- thumb_url - to a scaled down version of the picture
- date - on which the picture was submitted
- username
- tags - list of tags
- 400 - bad request, error message
Status Information
The online-status of a user can be queried via status.freamware.net..