You are hereBlogs / eyedol's blog / Exposing Our API

Exposing Our API


By eyedol - Posted on 14 June 2010

I'm sure you have been asking several times, do kasahorow have an API I can work with to build this killer app. The answer I have for you is, YES we do have one.

In this post, I am going to expose you to the API and how you can use it for whatever purpose you have in mind and bear in mind, you cannot abuse it :-).

Now let's move on to the details of the API. The kasahorow API is a RESTful API, which means you can easily access it by crafting a URL and sending an HTTP Request. As at now, the API only supports the HTTP GET request which gives back a JSON formatted response. You cannot do a post request, which means, you can only fetch not post data to kasahorow. The API is crafted more towards translating a word from one language to another.

Now how do you use the API? Good question.I'm going to show you how to use it to do a simple translation. You need to construct a URL that conforms to our API requirement. For example, if you want to translate dog from English to Akan, construct your URL to look like this http://api.fienipa.com/?q=kjson&method=get.links&args=dog,en,ak&key=&format=json

Required parameters are, method, args, key and format.

We are in the process of documenting the API. There will be a follow up blog post when the documentation is done.

The key parameter needs a valid fienipa account which is a required field. Without it, you cannot use the API. Sorry.

I guess you are good to getting started. If anything, post a comment or feel free to contact us

Tags

Search Dictionaries

Download Free Tools

Twitter Live Stream