Web3 data center integrating multiple APIs for blockchain data analysis
Project description
Web3 Data Center
Web3 Data Center is a Python package that integrates multiple APIs to provide comprehensive blockchain data analysis capabilities. It offers a unified interface to access data from various sources, making it easier for developers to gather and analyze blockchain-related information.
Features
- Integration with multiple blockchain data providers (GeckoTerminal, GMGN, Birdeye, Solscan, GoPlus, DexScreener)
- Asynchronous API calls for improved performance
- Caching mechanism to reduce API calls and improve response times
- Support for multiple blockchains (Ethereum, Solana, and more)
- Token information retrieval (price, market cap, holders, etc.)
- Transaction analysis
- Token security checks
Installation
You can install Web3 Data Center using pip:
pip install data_center
Quick Start
Here's a simple example of how to use Web3 Data Center:
import asyncio
from web3_data_center import DataCenter
async def main():
data_center = DataCenter()
# Get token info
token_address = "CzLSujWBLFsSjncfkh59rUFqvafWcY5tzedWJSuypump" # Wrapped SOL
token_info = await data_center.get_token_info(token_address)
print(f"Token Info: {token_info}")
# Get top holders
top_holders = await data_center.get_top_holders(token_address, limit=10)
print(f"Top 10 Holders: {top_holders}")
asyncio.run(main())
Documentation
For detailed documentation, please refer to the docs directory.
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
License
This project is licensed under the MIT License - see the LICENSE file for details.
Acknowledgments
- Thanks to all the API providers that make this project possible.
- Special thanks to the open-source community for their invaluable tools and libraries.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file web3_data_center-0.3.2.tar.gz
.
File metadata
- Download URL: web3_data_center-0.3.2.tar.gz
- Upload date:
- Size: 42.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 277a957f551730642e3165643402a026d7d108c52947507b5c29b0b832823818 |
|
MD5 | d7d061fb6679642077cf734ba3dd8f7b |
|
BLAKE2b-256 | 04b890e4d6ab5940cebb164606cb8d278d97938ef96bb7bf08f262c9fd439863 |
File details
Details for the file web3_data_center-0.3.2-py3-none-any.whl
.
File metadata
- Download URL: web3_data_center-0.3.2-py3-none-any.whl
- Upload date:
- Size: 49.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ad893f25efc93b4a2aae27143cf6c2061fd8e5faf0830ccc75711cb376d1f03f |
|
MD5 | 71236de1dad5f0962c252db50d86809e |
|
BLAKE2b-256 | addb4de9d16d179ca5ed24512c008412c39d46f46684c8acf9dc438cb555cb13 |