A simple web service for Penn State's Student Directory
Penn State maintains a public directory of all faculty and students at http://psu.edu/ph
. Unfortunately, the directory uses POST requests, as opposed to GET requests. This makes integrating directory info into web apps difficult. For a small project I'm working on, I built a web service that lets a developer make GET requests. Simply input a PSU ID, and get the person's full name in the response text.
The app is built using Mechanize to fill out the form, Nokogiri to parse the response, Sinatra to expose it to the web, and Heroku for hosting and deployment:
You can try it here
29 January 2011