Skip to main content

An API Wrapper for the block game bot api

Reason this release was yanked:

update

Project description

block game bot

license pypi

block game bot api Wrapper

Information

Written without any external libraries other than aiohttp which is used to fetch data from the block game bot API.

This requires a block game bot API key. You may obtain one by joining this Discord and messaging me (asov#0187).

Credits

  • asov - Maker of Scammer List
  • timnoot - Helped me a lot in general

Usage

import asyncio

from blockgamebot.api import Scammers

scammers = Scammers("BLOCKGAMEBOT_API_KEY")
images = itemImages()

async def main():

    # Get all scammers
    all_scammers = await scammers.get_all()
    print(all_scammers)

    # Lookup a scammer
    scammer = await scammers.lookup("asov")
    print(scammer)

asyncio.run(main())

API

If you don't want to use the Wrapper you can use the 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

blockgamebot-1.3.tar.gz (3.2 kB view hashes)

Uploaded Source

Built Distribution

blockgamebot-1.3-py3-none-any.whl (3.3 kB view hashes)

Uploaded Python 3

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