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.0.tar.gz (2.5 kB view details)

Uploaded Source

File details

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

File metadata

  • Download URL: somerandomwrapper-0.1.0.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.0.tar.gz
Algorithm Hash digest
SHA256 65753554c3c3c11ff0f980266e6ad03de17b634b3ac42ccea83a89dcf8f411e3
MD5 282f03d20258521768b5626c9bcb269b
BLAKE2b-256 c0bb8473181ce0074838e5d0ab5329aad9ab983d20ced40cd114e8aee6e88637

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