Skip to content

Beengoo/donatello.py

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Discord server | YouTube | PyPI

donatello.py (Legacy)

Donatello.py is a simple unofficial library for the Donatello API

First step

Get Donatello API Token

alt text

  1. Go to Donatello API Docs
  2. Enable API
  3. Copy Token

Example code:

from donatello import Donatello

donate = Donatello(token="Your token here")

print(f"Hello my name is {donate.get_nickname()}, donate me pleace:)\n{donate.get_page()}")

API Reference

Raw info

Method Return Description
me dict Return information about the user such as nickname, page, status, etc
donates dict Return a list of donations
clients dict Return a list of clients

Methods for quick access to information

Method Return Description
get_total_donates int Return a total count of donations
get_full_info list Return a me, donates and clients in list
get_nickname str Return a nickname in Donatello
get_donates dict Return a total donations amount and count
created_at str Return the date when the account was created in the format yyyy-mm-dd hh:mm:ss
get_status dict Returns a dict with activity and privacy status {'isActive':bool, 'isPublic': bool}
get_page str Returns a link to the donation page

About

Donatello.py is a simple unofficial library for the Donatello API

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages