Skip to main content

A small local Wrapper for Some Random API written on Python.

Project description

SomeRandomWrapper

This Wrapper is written for Some Random API. It is used in the main core of our bot, or rather in fun commands.

Installing the library:

To install it, you will need the standard Python package manager - pip. To install the library, type pip install -U somerandomwrapper in the console.

Dependencies to install:

Some examples:

from somerandomwrapper import SomeRandomWrapper
from asyncio import run

wrapperAPI = SomeRandomWrapper()
request_fact = run(await wrapperAPI.get_fact())

print(request_fact)

You can see other examples here. You can also create your own example by simply making a Pull Request.

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

somerandomwrapper-0.1.1.tar.gz (2.5 kB view details)

Uploaded Source

File details

Details for the file somerandomwrapper-0.1.1.tar.gz.

File metadata

  • Download URL: somerandomwrapper-0.1.1.tar.gz
  • Upload date:
  • Size: 2.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.2

File hashes

Hashes for somerandomwrapper-0.1.1.tar.gz
Algorithm Hash digest
SHA256 c90b04d5b348d4cc59986b876f53a10057ebf0fc235ccf302559f25964ceb16f
MD5 516d5577a6ab621cdf50d091850febf6
BLAKE2b-256 ee50208af2e7391321647fd94458af7b45b6c932a2fcfd46cfc4443daf9a017c

See more details on using hashes here.

Supported by

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