Skip to main content

The unofficial async API wrapper for http://www.boredapi.com/

Project description

async-bored-api

The unofficial async API wrapper for http://www.boredapi.com/

Installing

pip install --upgrade bored_api

Usage

Here is simple example of usage.

import asyncio

import bored_api

async def main():
  client = bored_api.BoredClient()
  activity = await client.get_by_type(bored_api.ActivityType.BUSYWORK)
  print(activity.activity)

asyncio.run(main())

Documentation and API Reference:

https://damego.gitbook.io/async-bored-api/

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

bored_api-1.1.1.tar.gz (4.2 kB view details)

Uploaded Source

Built Distribution

bored_api-1.1.1-py3-none-any.whl (4.5 kB view details)

Uploaded Python 3

File details

Details for the file bored_api-1.1.1.tar.gz.

File metadata

  • Download URL: bored_api-1.1.1.tar.gz
  • Upload date:
  • Size: 4.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.15

File hashes

Hashes for bored_api-1.1.1.tar.gz
Algorithm Hash digest
SHA256 619aba75c9006b82b34d53840129ea7c36b6845aa60a96799df89c6d3dee017a
MD5 b302cc23696d687694df9f8ef8a06520
BLAKE2b-256 72f80676e4ac87e2f4f70356700f77e217f54e5c1a9cc9d5cac32c63c84d65b0

See more details on using hashes here.

File details

Details for the file bored_api-1.1.1-py3-none-any.whl.

File metadata

  • Download URL: bored_api-1.1.1-py3-none-any.whl
  • Upload date:
  • Size: 4.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.15

File hashes

Hashes for bored_api-1.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 2f24b12aaf2945e27925a05814b07d0b120efd64740ca1c55a722e5544402f0c
MD5 355143de9649c2e46317ca1610b2136b
BLAKE2b-256 9e27ff7503df51abbc0ae03d68540676b797236b73157d1bdebba7e7900d20c0

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