No project description provided
Project description
GeckoTerminal
Python wrapper for GeckoTerminal's API.
Installation
pip3 install geckoterminal
GeckoTerminal Docs
https://www.geckoterminal.com/dex-api
Quick Start
import geckoterminal
networks = geckoterminal.get_networks()
prices = geckoterminal.get_prices(
network='eth',
token_addresses=[
'0xdac17f958d2ee523a2206206994597c13d831ec7', # USDT
'0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48', # USDC
'0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2', # WETH
]
)
dexes = geckoterminal.get_dexes(network='eth')
weth_usdc = geckoterminal.get_pool(network='eth', pool_address='0x88e6a0c2ddd26feeb64f039a2c41296fcb3f5640') # WETH/USDC Uniswap v3 0.05%
polygon_top_pools = geckoterminal.get_top_pools(network='polygon_pos')
weth_usdc_trades = geckoterminal.get_trades(
network='eth',
pool_address='0x88e6a0c2ddd26feeb64f039a2c41296fcb3f5640',
trade_volume_in_usd_greater_than=10000
)
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
geckoterminal-0.0.5.tar.gz
(4.0 kB
view details)
Built Distribution
File details
Details for the file geckoterminal-0.0.5.tar.gz
.
File metadata
- Download URL: geckoterminal-0.0.5.tar.gz
- Upload date:
- Size: 4.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e86ca12bb06b71210c132b002e4ef16bbfb5862068adb9476aea446d7bbc8d19 |
|
MD5 | eefc1f1402854d5a8a9dcdd465b25c58 |
|
BLAKE2b-256 | e5ac052740cecdb263318d9b5fdf6ffcc254a8409befdf76c1160a3aba5e901b |
File details
Details for the file geckoterminal-0.0.5-py3-none-any.whl
.
File metadata
- Download URL: geckoterminal-0.0.5-py3-none-any.whl
- Upload date:
- Size: 4.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 07df24f41aa4575ce3e41266e3632cf1930857f79e6d3af61ea15162f85e1586 |
|
MD5 | 6d5fd3452309f6416acb0ac2d0a7fdc1 |
|
BLAKE2b-256 | fb814c587e5a45933c4084ca1d876a5ab7fcb2e7df50d24842ac6ba70bbda824 |