Wordnik API for Windows 8 and Windows Phone 8

I was thinking about creating some app dealing with words for WP8. One big hurdle was getting definitions for user-entered words, so I started searching for online services with APIs for the purpose.

The first obvious choice was Google Dictionary, but the API is not public (and unsupported), despite all the requests from the dev community. I saw a link there for Wordnik, a word and phrase dictionary with a nice API. The only problem was that they didn’t have a C# API which could be used with Windows 8 or Windows Phone 8. The nearest thing to C# was their Java API client, so I grabbed that and rewrote the stuff for using the portable HttpClient. This means that you can use the API client with Windows 8 and Windows Phone 8 as well. The result is this project on GitHub, a portable library for the Wordnik API.

The API client can exercise the whole Wordnik API, all you need is to get an API key from Wordnik (a fairly easy process), and put it in the Api/ApiKey.cs file.

I hope it would prove useful for someone else as well.

One thought on “Wordnik API for Windows 8 and Windows Phone 8

  1. HI, I just had a look at your wordnik library. Its nice and great for developers. You should write some article for its usage. What if user wants to use multiple api keys in apps?

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s