Skip to main content

DList.top client for Python

Project description

DList.top Python client

Official dlist.top gateway client for Python.

Installation

pip install dlist_top

Setup

To get your token please refer to the DList.top documentation.

Usage

from dlist_top import Client

dlist = Client(token='YOUR DLIST TOKEN')
dlist.connect()

@dlist.on('rate')
def on_rate(data):
    print(data)
    
@dlist.on('vote')
def on_vote(data):
    print(data)

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

dlist_top-0.1.0.tar.gz (3.4 kB view hashes)

Uploaded Source

Built Distribution

dlist_top-0.1.0-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