Skip to content

Latest commit

 

History

History
29 lines (18 loc) · 488 Bytes

File metadata and controls

29 lines (18 loc) · 488 Bytes

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)