Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exporting explorers data in JSON, CSV formats #319

Closed
alfredonodo opened this issue Sep 22, 2023 · 8 comments
Closed

Exporting explorers data in JSON, CSV formats #319

alfredonodo opened this issue Sep 22, 2023 · 8 comments
Labels
Approved This proposal is approved by the committee Developer Tool Related to tools or utilities used by developers

Comments

@alfredonodo
Copy link

alfredonodo commented Sep 22, 2023

Summary

According to ton.app, there are currently four officially approved blockchain explorers. However, none allow meaningful data to be exported in a simple way. For example, tonapi API is limited to exporting only 100 entries to JSON, while both tonscan and tonviewer do not provide a way to export data in CSV format and do not allow HTML tables to be copied and pasted because some fields are pseudo-elements. In order to be able to do this, it is necessary to know good javascript. This is a limitation of blockchain transparency.

Context

Exporting tool in JSON, CSV formats.

References

https://etherscan.io/exportData?type=address&a=0x61c808d82a3ac53231750dadc13c777b59310bd9
https://docs.solscan.io/solscan-tool/download-csv-report
https://stake.tax/

Estimate suggested reward

I do not know.

@alfredonodo alfredonodo added the Developer Tool Related to tools or utilities used by developers label Sep 22, 2023
@delovoyhomie
Copy link
Collaborator

I see this idea very useful for use for different data export purposes. @tonscan do you ready to cooperate with @alfredonodo as part of this bounty to implement such a feature on tonscan.org or tonscan.com (TBD)?

@delovoyhomie delovoyhomie added the Approved This proposal is approved by the committee label Sep 23, 2023
@alfredonodo
Copy link
Author

I see this idea very useful for use for different data export purposes. @tonscan do you ready to cooperate with @alfredonodo as part of this bounty to implement such a feature on tonscan.org or tonscan.com (TBD)?

Thank you for your prompt reply. Mine is only a proposal, as I do not have the necessary expertise to carry out this task.

@delovoyhomie
Copy link
Collaborator

@alfredonodo, seems like I misunderstood that you wanted to implement this idea. In any case, I am very grateful to you that you bring such important and fundamental bounties.

@zenixls2
Copy link

I would like to look into this part. Seems like toncenter's http api might be already exporting the data in json.

@delovoyhomie
Copy link
Collaborator

After discussing with the @tonscan team, we've concluded that they will undertake the implementation of this proposal. We are genuinely grateful for this contribution and are excited about the new feature that will be added to the wallet.

@nessshon
Copy link
Contributor

I don't know if this is relevant, but you might be interested. I have a bot that can export transactions to CSV and JSON for a selected period of time @TONViewBot. You just need to install the API token from Tonapi.

@delovoyhomie
Copy link
Collaborator

I don't know if this is relevant, but you might be interested. I have a bot that can export transactions to CSV and JSON for a selected period of time @TONViewBot. You just need to install the API token from Tonapi.

That's cool! Is this an open-source development?

@nessshon
Copy link
Contributor

nessshon commented Nov 23, 2023

I don't know if this is relevant, but you might be interested. I have a bot that can export transactions to CSV and JSON for a selected period of time @TONViewBot. You just need to install the API token from Tonapi.

That's cool! Is this an open-source development?

Yes, it is an open source project. but the project is not documented, without a description. I launched it in beta mode, but since there was no activity, I stopped updating.

Source code and by the way, it makes full use of the tonapi API using the pytonapi library

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Approved This proposal is approved by the committee Developer Tool Related to tools or utilities used by developers
Projects
None yet
Development

No branches or pull requests

4 participants