Monday, February 25, 2013

Get A List Of All Classes At UC Berkeley With API Call

I see a lot of dead simple, yet meaningful uses of APIs come across my desk (I don’t have a desk, why do I keep saying this?) each day. One I saw today is something every school, whether K-12, college or university should have.

Using the UC Berkeley API, you can get a list of all departments:

_curl -v -X GET ""_

Then with the proper department code you can pull a list of classes:

_curl -v -X GET ""_

With the proper keys, anyone can easily pull relevant UC Berkeley department and class data to use in website or app, or even populate a Google Spreadsheet for other purposes.

The UC Berkeley API Management Portal is brand new, I’m still working on separate regarding their approach, but it is good to see such straightforward, valuable uses of an API at a leading university.

This simple example is something you should be able to do by default at all schools across the country.

from API Evangelist

No comments: