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.1.3.tar.gz
.
File metadata
- Download URL: web3_data_center-0.1.3.tar.gz
- Upload date:
- Size: 35.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4a8e03a2d8e069c5e4a6e0de37615f82fceebe7cd6644431213a01aa954e5c94 |
|
MD5 | 366b185b731178171e070521472a761f |
|
BLAKE2b-256 | be4645f5c27466a6b9c63d1c9afa9381e8e9d4d8608d7a28669390952f01c07c |
File details
Details for the file web3_data_center-0.1.3-py3-none-any.whl
.
File metadata
- Download URL: web3_data_center-0.1.3-py3-none-any.whl
- Upload date:
- Size: 41.3 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 | 1235013544a8862e25e86933cb296eb89fba646ce0d4628cc2c7b40c37389f4e |
|
MD5 | 0ded821c498a9742cd6ce9a8ca6830a1 |
|
BLAKE2b-256 | 95a2e8093fb143e283077b955e111dc2ec499839a664636e3da597747ec9c16d |