finedk / ton-explorer-api

A simple python class for use ton.sh API (TON official explorer)

Home Page:https://ton.sh/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

TON explorer api

The simple python class for use official TON explorer API

Distributed by GPL-3.0 License

Content

Appointment

This class can be used separately from the main script, with its help you can facilitate the process of working with the TON explorer api

Example

The fast recording process my script with main class

More in the for_readme folder

example

Installation and use

First you need git clone https://github.com/alekszavg/ton-explorer-api.git

Than you need pip install -r requirements.txt

You can use import to got this class

Make import class TonExplorer from main.py in this file is needed class

how-use

Then you created instance of a class with its own settings

settings

Technical information

  • I use official TON explorer api
  • Is request limit - 30 req/minute
  • If something is wrong my class return you False. If all is ok he return what you requested or dict (dict is json from request answer)

From the author

I wrote this in 2 days and so I'm not sure there are no bugs! If you want to offer something, then create a request, I will try to respond to it in time

Good luck!

About

A simple python class for use ton.sh API (TON official explorer)

https://ton.sh/

License:GNU General Public License v3.0


Languages

Language:Python 100.0%