API wrapper for rapid-api/pumpfun-scraper-api
Project description
Pumpfun API Wrapper
Python wrapper for pumpfun-scraper-api
Installation
pip install pypumpfun
API Key Required
⚠️ Important: This module requires an API key to perform requests. Get your API key from RapidAPI - Pumpfun Scraper API
Quick Start
from pypumpfun import Pumpfun
# Initialize with your API key
api = Pumpfun("YOUR_API_KEY")
# Search for tokens
results = api.search_tokens(term="your_search_term")
print(results)
# Get recommended tokens
tokens = api.tokens_for_you(limit=50, offset=0, include_nsfw=False)
print(tokens)
Available Methods
ping(): Check API healthsearch_tokens(term): Search tokens by termtokens_for_you(limit=50, offset=0, include_nsfw=False): Get recommended tokenssimilar_projects_by_mint(address, limit=50): Find similar projectsget_featured_coins(): Get featured coinsget_about_graduates(): Get graduates informationget_runner_tokens(): Get runner tokensget_tokens_by_meta(meta, include_nsfw=False): Search by metadataget_token_metadata_trades(address): Get token metadata and tradesget_pumpfun_replies(address, limit=1000, offset=0): Get repliesget_candlesticks(address, timeframe=5, limit=1000, offset=0): Get candlestick dataget_king_hell(include_nsfw=False): Get King Hell informationglobal_params(): Get global parametersget_latest_token(): Get latest token information
Error Handling
The module includes built-in error handling and will return appropriate error messages if:
- API key is invalid
- API request fails
- Response parsing fails
Rate Limits
Please be aware of the rate limits associated with your API key tier on RapidAPI.
Support
For API access and pricing, visit RapidAPI - Pumpfun Scraper API
For package issues, contact: contact@tomris.dev
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
pypumpfun-0.1.1.tar.gz
(16.9 kB
view details)
File details
Details for the file pypumpfun-0.1.1.tar.gz.
File metadata
- Download URL: pypumpfun-0.1.1.tar.gz
- Upload date:
- Size: 16.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a14521dcca42cf525dcd56eae29ec3b745566585fd0f7fb7bd58049e24a25350
|
|
| MD5 |
16580ec515f1f78aab895ffe7dedf93f
|
|
| BLAKE2b-256 |
5239f95ef1c5f33f83ac1291b180cf43039798e2fb53533bf1d879a0976be119
|