Skip to content
This repository has been archived by the owner on Jun 3, 2023. It is now read-only.
/ ton-explorer-api Public archive

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

License

Notifications You must be signed in to change notification settings

finedk/ton-explorer-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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)

Topics

Resources

License

Stars

Watchers

Forks

Languages