Skip to main content

Simple wrapper for some-random-api.

Project description

Some Random Api wrapper

Module for work with SomeRandomAPI

========

Wrapper for https://some-random-api.ml/

Endpoints: https://some-random-api.ml/endpoints

Installing

pip install somerandom_wrapper

Example

import asyncio

from somerandom.api import SomeRandomApi
from somerandom.endpoints import Filters

api = SomeRandomApi(Filters(avatar='your-avatar-url', _filter='comrade'))

async def main():
    data = await api.create_request()
    return data

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

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

some_random_python-2.0.tar.gz (3.9 kB view details)

Uploaded Source

File details

Details for the file some_random_python-2.0.tar.gz.

File metadata

  • Download URL: some_random_python-2.0.tar.gz
  • Upload date:
  • Size: 3.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.0

File hashes

Hashes for some_random_python-2.0.tar.gz
Algorithm Hash digest
SHA256 46b2c9a911aaaa6da54644643c5c248264c6fe8e4cc2a4f4d8a53bdf6c0bb034
MD5 09b932c8197d576e459515b9412c70b3
BLAKE2b-256 7cec09f2fc9a52c00a9c84aad9ba924a906de47a8279a14777e2fce2814be5b5

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