https://github.com/netgian/pumpfun
pump.fun API wrapper
https://github.com/netgian/pumpfun
Last synced: 3 months ago
JSON representation
pump.fun API wrapper
- Host: GitHub
- URL: https://github.com/netgian/pumpfun
- Owner: netgian
- License: mit
- Created: 2025-02-17T05:17:45.000Z (3 months ago)
- Default Branch: main
- Last Pushed: 2025-02-17T05:17:45.000Z (3 months ago)
- Last Synced: 2025-02-17T05:46:42.316Z (3 months ago)
- Size: 0 Bytes
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# pump.fun frontend API Wrapper for Python
Pump Fun API Wrapper is a Python package designed to facilitate interaction with the [pump.fun frontend API](https://frontend-api.pump.fun/api). It provides a comprehensive set of functions for retrieving transaction data, managing user and coin information.
## Features
- Retrieve the latest trades and transaction history.
- Query information about available coins.
- User management and information retrieval.TO DO: Get to work the post, put, delete methods
## InstallationYou can install this package via pip using:
```bash
pip install pumpfun
```## Usage
### Importing the Package
```python
import pumpfun
```### Example Usage
```python
from pumpfun import get_all_trades, get_sol_price# Retrieve the latest trades for a given mint
trades = get_all_trades(mint="7vJY...pump", limit=10)
print(trades)# Get the current SOL price
sol_price = get_sol_price()
print(f"Current SOL Price: {sol_price}")
```## License
This project is licensed under the MIT License. See the `LICENSE` file for more details.
---
**Contact:** [[email protected]](mailto\:[email protected])