Skip to content

Repository files navigation

Internet King Popup Banner by BLUEamnesiac

CompuGlobal

https://app.readthedocs.org/projects/compuglobal/badge/?version=latest&style=flathttps://img.shields.io/github/actions/workflow/status/MitchellAW/CompuGlobal/test.yml?label=testshttps://img.shields.io/github/license/mitchellaw/compuglobal

Python wrapper for all endpoints of the following undocumented APIs:

Frinkiac, Morbotron, Master Of All Science, and Capital Beat Us.

Note: I'll be keeping the wrapper up to date as more APIs are released.

CompuGlobal 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, and West Wing.

Make sure to acquaint yourself with the API using the documentation.

Installation

To install the library, you can just run the following command:

python3 -m pip install -U compuglobal

Basic Usage

importasyncioimportcompuglobalasyncdefmain():
simpsons=compuglobal.aio.Frinkiac()
# Randomscreencap=awaitsimpsons.get_random_screencap()
# Searchscreencap=awaitsimpsons.search_for_screencap('nothing at all')
# Images/Gifsimage=awaitsimpsons.get_comic_panel_url(screencap)
gif=awaitsimpsons.get_gif_url(screencap)
if__name__=='__main__':
asyncio.run(main())

For documented examples, check here.

Preview

https://raw.githubusercontent.com/MitchellAW/MitchellAW.github.io/refs/heads/master/images/nothing-at-all.gif

Credits

Creators and contributors of Frinkiac, Morbotron, Master of All Science, and Capital Beat Us:

BLUEamnesiac for the Internet King Popup Banner

Named CompuGlobal as shorthand forCompuGlobalHyperMegaCap, as the family of websites are named.

Releases

Packages

Used by

Contributors

Languages