Our API Gets an Overhaul

Written Dec 26, 2009 at 21:56 (0)

In case you haven't been following along with each and every commit on our github account, let me bring yuo up to speed on some changes that've been released lately - mostly dealing with our public API.

I've been taking advantage of the bit of time off I've had during the holidays to go through the API and do some work that I've meant to do for a long time. The API was usable in the state is was, but it was a little tricky in places. My goal was to take what was there and recharge it and make it much more usable. The basics were there, but it needed fleshing out.

So, back on December 8th, I started with the rework by tackling the first major hurdle - the authentication. I made the move away from a single stop to a more modular, per-action format. This gives it even more flexibility on what's required and any validation that each request might require.

There's also been some new additions to the API with more request types to round things out. You can get a lot more information on a lot more things now and call a generic action (a site status call) to help with testing your connection.

Take all of this and add in the fact that the API now accepts JSON as an input format and you have something that's leaps and bounds over what it was. Check into our API docs for more details on working with the site.

© Joind.in 2017