PHP, Wordnik API

An assignment for Tom Igoe’s class Understanding Networks:

REST assignment. Communication in not-so-realtime. Deliver information to the user through the browser from somewhere else. Update the information they’re seeing while they interact, preferably based on input from multiple sources.

The site is no longer live, but the behavior was as follows:


At the root URL, you get the current word of the day from Wordnik, followed by a definition and a set of usage examples:

Wordhopper - ITPindia


If you tack a word onto the end of that URL, you get the word and its usage examples:

Wordhopper - ITPindia


If you add a /d to the end of the URL, after your personally chosen word, you get all the available definitions for that word:

Wordhopper - ITPindia