Giter VIP home page Giter VIP logo

debankscripts's Introduction

Table of contents

๐Ÿ’ฐ Debank Scripts

Python scripts to scrape data from Debank.

The purpose of these scripts is to scrape data in order to find the strategies used by whales by looking at their belongings and transactions.

๐Ÿค Feel free to contribute by fork, and making pull-request

๐Ÿ”Ž Python Scripts details

Here below a description of python scripts details.

scripts/WalletsWithTokensFromSpecificBlockchain.py

This python script searches among the top wallets listed in DeBank according to tokens held in a specific blockchain (e.g. ETH, CRO, BSC, etc...)

How to use it

Configure Input Variables located on top of the script, and then run it

Configure walletsCount

# Wallet counts is the maximum top wallet IDs to look into (e.g. 100)
walletsCount = 100

Configure chainId

For possible chainId values, please refer to Debank OpenAPI website

# ChainId indicates which wallet id contains tokens from the specific chain
# For the chainId valid values please refer to 'https://openapi.debank.com/docs'
chainId = 'cro'

๐Ÿƒ Run pre-made examples online

Output example:

Begin retrieving 1000 top wallet ids...
[50/1000] ...
[100/1000] ...
....
[950/1000] ...
[1000/1000] ...
----
Begin retrieving which wallet contains tokens from chain cro...
[6/1000] Scanning...
[7/1000] Scanning...
[15/1000] Scanning...
...
[995/1000] Scanning...
[1000/1000] Scanning...
----
Scan completed! The following wallets contains tokens from cro blockchain
https://debank.com/profile/0x3ec6732676db7996c1b34e64b0503f941025cb63
https://debank.com/profile/0x108a8b7200d044bbbe95bef6f671baec5473e05f
....
https://debank.com/profile/0x438bbff80252c9c959797d0180a5c868e1a86c91

โœ… Do you like it? Buy me a beer!

ETH / CRO / BSC Wallet Address:

๐Ÿ‘‰ 0x542AD209341d2944CDa9b9e1eB098E6A7Cb35366

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.