Skip to main content

an un-official async wrapper for the Snusbase API

Project description

snusbase.py

an un-official async wrapper for the Snusbase API

Features

  • none. just easier to use instead of ugly non-async examples

Install

# Linux/macOS
python3 -m pip install -U snusbase.py

# Windows
py -3 -m pip install -U snusbase.py

To install the development version, do the following:

$ pip install -U git+https://github.com/obstructive/snusbase.py

Optional Packages

Quick Example

from snusbase import SnusbaseAPI
from asyncio import get_event_loop

client = SnusbaseAPI("token")


async def main():
    result = await client.search_by_username("example")
    print(result)


loop = get_event_loop()
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

snusbase.py-1.0.1.tar.gz (4.5 kB view hashes)

Uploaded Source

Built Distribution

snusbase.py-1.0.1-py3-none-any.whl (4.7 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