Python wrapper for the CGHMC API (Frinkiac, Morbotron, Master Of All Science and more!)
Project description
Unofficial API wrapper for the following undocumented APIs:
Frinkiac, Morbotron, Master Of All Science, Capital Beat Us and Good God Lemon
Allows for both random and searchable screencaps, images and gifs embedded with default or custom captions for the following shows:
The Simpsons, Futurama, Rick and Morty, West Wing and 30 Rock.
Basic Usage
import compuglobal
simpsons = compuglobal.Frinkiac()
# Random
screencap = simpsons.get_random_screencap()
# Search
screencap = simpsons.search_for_screencap('stupid sexy flanders')
# Images/Gifs
image = screencap.get_meme_url()
gif = screencap.get_gif_url()
For documented examples, check here.
Credits
Creators of Frinkiac, Morbotron, Master of All Science, Good God Lemon and Capital Beat Us:
Named CompuGlobal as shorthand for CompuGlobalHyperMegaCap, as the family of websites are named.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.