rfreebern/pokey-api

An API to the Pokey search.

dev-master 2018-06-28 20:31 UTC

This package is not auto-updated.

Last update: 2024-09-14 14:39:57 UTC


README

Here is a library that exposes an API to the Pokey the Penguin search at http://yellow5.com/pokey/search

Installation

Theoretically, you can use composer! Or whatever.

Playing Around

There is a file named pokey in the bin directory. Use it like this:

$ ./bin/pokey whiskey
LITTLE GIRL: MORE WHISKEY POKEY?

The API

This library exposes one method, search, which takes one argument, a string to search for. It returns an array with 0 or more results. Each result is a hash with four keys:

  • title: The title of the matching Pokey strip
  • link: The URL to the strip
  • image: The URL to the matching panel of the strip
  • text: The text in that panel

Credits

  • Pokey the Penguin is a creation of THE AUTHORS.
  • This library was created by Ryan Freebern / @rfreebern.