Introducing REST JSON/JSONP "Open Beer Database" API!
Visual Studio Magazine - Beer? There's an API for that!
I've been fooling around with REST services, getting JSON data back from free online sources and displaying it in Web or Windows Store apps via a ListView or FlipView, and so on.
After experimenting with the Windows Azure Mobile Services, which simplifies the back-end data-access process and lets you easily set up your own services, I was trying out other APIs and just had to pass on my latest discovery: beer.
Yup, there's an Open Beer Database, described as "a free, public database and API for beer information." Now, that's my kind of information ...
Anyway, note that the Open Beer API "is currently a work-in-progress and is subject to change without notice." It returns data in JSON or JSONP (to work around cross-domain calls). It provides the usual CRUD operations via HTTP verbs GET, POST, PUT and DELETE and lets you retrieve breweries or beers, both as aggregates or singly by ID number.
..."
The API is currently a work-in-progress and is subject to change without notice.
Overview
CachingCurrently no requests are cached.
Rate LimitThe API is not currently rate limited. Please use good judgment when designing your application.
ResponsesCurrently the only supported formats are JSON (
Public Tokenapplication/json) and JSONP (text/javascript).A public token has read-only access.
Private TokenA private token has read and write access.
Open Beer Database - Displaying Breweries via JSONP
Beer! REST API! Beer!
(Note: Opinions expressed in this article and its replies are the opinions of their respective authors and not those of DZone, Inc.)







