Entries tagged apis
I just shipped the first public version of datasette, a new tool for creating and publishing JSON APIs for SQLite databases.[... 968 words]
HTML is a better format for documentation than PDF.[... 160 words]
Does the Google Maps API let you remove details of the map such as street names to focus on pins on the map?
Yes—you can do this with map styles (which allow you to set the visibility if road labels, among other things): http://developers.google.com/map...[... 53 words]
The foursquare API is pretty great for restaurants and nightlife these days. No chance if revenue share though—how would you envisage revenue share working?[... 44 words]
Wikipedia runs using Mediawiki, and Mediawiki has an API: http://www.mediawiki.org/wiki/API[... 23 words]
- A really good API explorer
- Comprehensive documentation of the response format, including what happens if certain fields are missing (empty string, null value, missing key?)
- Comprehensive documentation of the available request parameters, including allowed values
- What are the rate limits?
- What is returned if there is an error?
The Amazon Fulfillment Web Service used to handle this http://aws.amazon.com/fws/—but their site now says "Effective June 2012, Amazon Services will no longer support Amazon Fulfillment Web Service (Amazon FWS). All functions and services currently supported by Amazon FWS are currently available through Amazon Marketplace Web Service (Amazon MWS)." So I guess you want the Amazon Marketplace Web Service: https://developer.amazonservices...[... 82 words]
http://url2png.com/ generates images on demand—you pass the URL directly to the service and it replies with a PNG image. The first load can take a few seconds (depending on how long it takes the originating site to serve up the assets etc) but they cache the generated images so future requests for the same URL will be served instantly.[... 79 words]
I suggest taking a look at http://embed.ly/—it can take a huge range of URLs and turn them in to JSON metadata. Here’s what it can do with a Wikipedia page: http://embed.ly/docs/explore/obj...—and here’s Google Maps URL (not as useful, but still some interesting metadata extracted) http://embed.ly/docs/explore/obj...[... 69 words]
Embed.ly is a good example of this kind of API—it gives you one endpoint which wraps oembed APIs on dozens of other services (plus a bunch of custom scraping code). We use it as part of our video/slide embedding feature on http://lanyrd.com/[... 57 words]
Any OAuth library should scale horizontally—I can’t see how any one library would be a better choice than another.[... 36 words]
I wrote up a technique for doing simple rate limiting using memcached a while ago, which I later found out was somewhat similar to how the Twitter API does it.[... 56 words]
1. Use JSON for your API. That takes away a lot of the necessity for an API wrapper, since it means you’re automatically returning native data types (hashes, lists, strings etc) for most programming languages.[... 175 words]
They weren’t the first to have an API, but Flickr were the first consumer web site that really pushed the concept in my opinion. They originally promoted it as “you can always get your data back if you want to”, but they then greatly benefited from the ecosystem that grew up around it.[... 65 words]
This morning we launched the Guardian Open Platform at a well attended event in our new offices in Kings Place. This is one of the main projects I’ve been helping out with since joining the Guardian last year, and it’s fantastic to finally have it out in the open.[... 839 words]
I started a conversation about this on Twitter the other day, but Twitter is a horrible place to have an archived discussion so I’m going to try again here.[... 555 words]