Skip to main content

A big api wrapper which wrappers most of the funny apis :)

Project description

memeapiwrappers

What is this wrapper for?

Its a api wrapper, which has meme images, chuck norris jokes and much more coming in future

Ok great How do I use it

In memeapiwrappers we have two types of functions async and sync. We recommand you using async so it doesnt block your code because its an api request.

YOU NEED aiohttp for this package, make sure you install it

Ok ok, where are the examples*

Lets get started with async first

import asyncio
from meme.main import async_get_meme
async def main():
    very_funny_meme = await async_get_meme() # Two optional args
    print(very_funny_meme)

loop = asyncio.get_event_loop()
loop.run_until_complete(main())

Chuck Norris Example

import asyncio
from chucknorris.main import async_get_chuck_norris_joke
async def main():
    very_funny_meme = await async_get_chuck_norris_joke() # Two optional args
    print(very_funny_meme)

loop = asyncio.get_event_loop()
loop.run_until_complete(main())

Now the sync functions

from meme.main import get_meme
print(get_meme()) # Optional args
from chucknorris.main import get_chuck_norris_joke
print(get_chuck_norris_joke()) # Optional args

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

memeapiwrappers-0.0.2.tar.gz (3.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

memeapiwrappers-0.0.2-py3-none-any.whl (4.2 kB view details)

Uploaded Python 3

File details

Details for the file memeapiwrappers-0.0.2.tar.gz.

File metadata

  • Download URL: memeapiwrappers-0.0.2.tar.gz
  • Upload date:
  • Size: 3.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.7

File hashes

Hashes for memeapiwrappers-0.0.2.tar.gz
Algorithm Hash digest
SHA256 7cb36f28d1ac33a8fab1c0c816cc2256feb0012b6716ed9961f255999c2af885
MD5 bc8e73e6d9f5a8e1e101f44b29f79385
BLAKE2b-256 8f8299ffe10ff70012e8450e69ef9d037891716906b3dc448ac6665dd4ab075e

See more details on using hashes here.

File details

Details for the file memeapiwrappers-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: memeapiwrappers-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 4.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.7

File hashes

Hashes for memeapiwrappers-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 bcee7c6fc9bf72c99b46159817888e348f7e962b817612ba24cb8ddb233a3449
MD5 2f0b53f2522df42d4787a0f14815a52e
BLAKE2b-256 70e91466e6d577445ecdb79fac32a6bb7d08eee19389ddb470e940a533385d8d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page