Colbie Martin API

The Colbie Martin API (Application Program Interface) allows people to interact programmatically with Colbie Martin.

The Colbie Martin API is available free of charge, and it returns data generated by Colbie Martin in a form that can be easily integrated into an application or a website.

This is the first version of the Colbie Martin API. It provides a handful of basic calls, but there's a lot more funtionality on the way.

At this moment the Colbie Martin API accepts REST requests and returns the results in XML. We will be offering other ways to access the API as well as returning the results in a future version of the API.

We group the current API calls in three categories or levels: Site, News and Users

Index

Site level API calls

News level API calls

Users level API calls

All user level calls also assume the site you're referring to is the one from where you're running the API call. This is important because a user will have different stats depending on the coRank site you're querying.

Error Codes

When an API call cannot be completed or is unable to return meaningful results, an error code is returned instead.

Example Response:

<rsp stat="fail">
	<err code="1" msg="Method missing" />
</rsp>

Response Details:

The current numeric codes and their equivalent messages are:

  • 1 - Method missing
  • 2 - Invalid API key
  • 3 - Missing parameters
  • 4 - The end parameter is smaller than the start parameter
  • 5 - No story found.
  • 6 - No stories found.
  • 7 - No user found.
  • 8 - No users found.
  • 8 - Daily API calls limit reached
  • 9 - User exists but has never used this site.

    << Go back

  • Home | Tools | Help & FAQ | About Colbie Martin | Contact us

    © Colbie Martin 2007

    Powered by coRank.com