(Not to be confused with the Yahoo Meme API.)
All you have to do is GET one of the following URLs:
http://automeme.net/moar.txthttp://automeme.net/moar.htmlhttp://automeme.net/moar.txt.jsonhttp://automeme.net/moar.html.jsonThe API may also be accessed from the original domain, meme.boxofjunk.ws.
Differences between .txt and .html:
.txt |
.html |
-- |
— (—) |
_FOO_ |
<em>FOO</em> |
Ten memes are returned by default, separated by new line characters. To
change the number of memes, append ?lines=n to the
URL, where n is in the range 1–80.
Significant changes to the API will be posted to the Auto-Meme blog.
Don't hammer the server plz thx.
$ curl -s automeme.net/moar.txt?lines=1
>>> import urllib
>>> url = 'http://automeme.net/moar.txt'
>>> memes = urllib.urlopen(url).read().rstrip().split("\n")
>>> print memes.pop()
>> require "open-uri"
>> url = "http://automeme.net/moar.txt"
>> memes = open(url).read.split("\n")
>> puts memes.pop
use LWP::Simple;
getprint 'http://automeme.net/moar.txt?lines=1';
Ruby example by jamiew. Perl example by perigrin.
« Return