Skip to content

netgian/pumpfun

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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. 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

Installation

You can install this package via pip using:

pip install pumpfun

Usage

Importing the Package

import pumpfun

Example Usage

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]