Big Lebowski API
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
app
bin
config
db
lib/tasks
log
public
spec
tmp
.gitignore
.rspec
.ruby-version
.travis.yml
Capfile
DEPLOY.md
Gemfile
Gemfile.lock
LICENSE
README.md
Rakefile
config.ru

README.md

lebowski.me Build Status Code Climate

A small rails app for serving up information from The Big Lebowski

Routes

/api/script
/api/quotes/random
/api/quotes/search?term=that+poor+woman
/api/quotes/:id
/api/lines/search?term=mountain
/api/lines/random
/api/lines/:id
/api/search?term=mountain # alias for /api/quotes/search

Text format

Append .txt to several routes to receive a text format

/api/quotes/random.txt
/api/quotes/search.txt?term=that+poor+woman
/api/quotes/:id.txt
/api/lines/search.txt?term=mountain
/api/lines/random.txt
/api/lines/:id.txt
/api/search.txt?term=mountain # alias for /api/quotes/search

Random quotes and searching by character name

/api/quotes/random.txt?character=Bunny
/api/quotes/random.txt?character=The+Dude
/api/lines/random.txt?character=The+Dude
/api/lines/search.txt?term=objects&character=The+Dude

Using cURL

$ curl -L http://lebowski.me

CLI client

lebowski

$ npm i -g lebowski

Author

twitter/aaronackerman
Aaron Ackerman