WORK API Teaser
Following from the concepts I wrote about yesterday, here’s two examples of API parsers using a WORK model. RSS 2.0 Class definition – that’s the whole thing there!: class RSS20(API): _item_path =...
View ArticleWork API Teaser II – Praized API
Implementing a merchant search using the Praized API took about 10 minutes (mainly finding the right documentation), using my WORK framework: class PraizedMerchants(bm_api.API): """See:...
View ArticleWork API Teaser III – Google API
Here’s an example of implementing an API with many different endpoints. It’s the Google AJAX Search API which lets you access all of Google’s search engines programmatically! A few notes: In the...
View ArticleWORK paths
A WORK object is simply a way of looking of any JSON-like dictionary – it’s an “attitude”. The primary difference is in how we use that dictionary, especially in the context of using APIs. Here’s a...
View ArticleToronto Fires
Here’s a little mashup I’ve been putting together for the last few days: Toronto Fires. It’s taking the data listed here on the City of Toronto’s Fire Services “Active Accidents”, scraping it (by...
View ArticleDjolt – Django-like Templates
Djolt is a reimplementation of Django’s template language in Python. Why do this? I like the Django template language I wanted something that small and independent of Django I wanted something that...
View ArticleCoding backwards for simplicity
I haven’t been posting as much as I like here for the last three weeks, not because of lack of ideas but because I haven’t been able to consolidate what I’ve been working on into a coherent thought....
View ArticleA brief survey of Yahoo Pipes as a DQT
Yahoo Pipes is a visual editor of mashups, allowing you to take data from sources on the net, transform them in various interesting ways and output the result as Atom, RSS or JSON. The primary downside...
View ArticlePipe Cleaner
I’ve been working (in my decreasing available spare time) on a project to pull together into a project called “Pipe Cleaner” all the various concepts I’ve been mentioning on this blog: Web Object...
View ArticleAtom as a Rosetta Stone for WORK objects
WORK – Web Object Records – is a way of describing messages we pass over the web: a single header object called the “meta” and zero or more objects called “items”. Each object can be encoded as a JSON...
View Article