Login

Pikter.com's API

At Pikter, we're all about simple. With our API, we've done our best to keep it quite simple. Below are all the details concerning our API.

Upload Photo and Share
To post via the API, you will only need your Pikter username and password. All data must be "posted" to the API URL.

API URL: http://api.pikter.com/

Variables to Post:
  - method: post
  - photo: Binary image data
  - username: Your Pikter username
  - password: Your Pikter password
  - subject: Your photo caption

Responses from Pikter:
  - Response Code 1: Success. http://piker.com/URL
  - Response Code 2: Error. Incorrect login information.
  - Response Code 3: Error. Photo data not posted.
  - Response Code 4: Error. Pikter could not recreate photo from data.
  - Response Code 5: Error. Pikter could not save the photo.

Example XML Responses:

  <response status="Success">
  <responseCode>1</responseCode>
  <responseMsg>Success</responseMsg>
  <responseURL>http://pikter.com/URL</responseURL>
  </response>

  <response status="Error">
  <responseCode>3</responseCode>
  <responseMsg>Pikter did not receive any photo data</responseMsg>
  </response>

Example PHP/CURL Code:
  To view an example of how to post to Pikter's API via PHP/CURL, please click here.

©2008-2010 Pikter.com - All rights reserved.