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.

Advertisements

Git Viewer, my first WP8 app is published

In my previous post I wrote about a Windows Phone 8 app I built. Now it’s available in the app store.

As a recap, this app lets you connect to your GitHub repositories and check various aspects of them. If you’re interested, you can also check out the source code on GitHub. I’m not done with the development, currently there’re some new features ready, but I haven’t done testing and updating the app. I welcome any participation to provide some nice GitHub experience on Windows Phone 8 as well.