ton-society / grants-and-bounties

TON Foundation invites talent to imagine and realize projects that have the potential to integrate with the daily lives of users.
https://ton.org/grants
314 stars 138 forks source link

TONAPI library for Python #375

Closed nessshon closed 10 months ago

nessshon commented 1 year ago

Summary

A Python library for Tonapi, offering comprehensive type descriptions.

Context

This library allows users to use different versions of Tonapi, supporting both testnet and mainnet. The Tonapi library is structured to improve usability. When creating an instance of the class, users can specify the network and token. The library carefully documents Tonapi methods, organizing them into intuitive subclasses.

Library Features

The library, hosted on GitHub, has been making remarkable progress. Almost all popular methods have been implemented, with just a few remaining for completion. The library is poised to offer the complete set of Tonapi features.

The creators of Tonapi have officially recognized and endorsed this library. It is now affiliated with Tonapi and linked on the TonKeeper GitHub page, solidifying its integration with the Tonapi ecosystem.

Tonapi methods marked with a checkmark are already described and organized into subclasses:

UPD: Done! All methods have been added.

Streaming API

Raw API

References

tonapi.io

Estimate suggested reward

delovoyhomie commented 11 months ago

@nessshon, thank you for your wonderful bounty! What kind of reward will be pleasant for you?

nessshon commented 11 months ago

@delovoyhomie , thank you for approving my work.

I saw a similar task on TypeScript, it was estimated at $500. However, I will appreciate your rating, even if it is a little lower or higher.

mbaneshi commented 11 months ago

I do not know if my word is heard or not.

This work is huge, it takes 7 months, more than 5.1k lines of code, and 94 files. It was well-written and has test coverage, documents, and packaging.

Maybe @nessshon offered it due to humility or the organizational task nature behind it, but I saw other similar projects around 3-5k. Anyway, @delovoyhomie my thought is under 2k equivalent in TON is unfair.

please look at below statistics :

Screen Shot 2023-12-17 at 13 59 49
delovoyhomie commented 10 months ago

Rewards sent! Thank you for the contribution.

Qustbook proposal