Skip to main content

pump.fun frontend API Wrapper for Python

Project description

pump.fun 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: gianlopez.cv@gmail.com

Project details


Release history Release notifications | RSS feed

This version

0.3

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pumpfun-0.3.tar.gz (10.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pumpfun-0.3-py3-none-any.whl (10.5 kB view details)

Uploaded Python 3

File details

Details for the file pumpfun-0.3.tar.gz.

File metadata

  • Download URL: pumpfun-0.3.tar.gz
  • Upload date:
  • Size: 10.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.11

File hashes

Hashes for pumpfun-0.3.tar.gz
Algorithm Hash digest
SHA256 89b9f44df34e3b92b11cfb1b3d385504b83a8fafc935670947320c6a9846dd7b
MD5 7786b2011efd8c820127daa417792dd8
BLAKE2b-256 b3e32545a26b391d8a5dc022af0faf5046058583edce28ced20e8dd524c13384

See more details on using hashes here.

File details

Details for the file pumpfun-0.3-py3-none-any.whl.

File metadata

  • Download URL: pumpfun-0.3-py3-none-any.whl
  • Upload date:
  • Size: 10.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.11

File hashes

Hashes for pumpfun-0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 c20f954c6e6de53019767f6339974036bf245b05c658c5a776d6001404408c7e
MD5 6b7790187d61aaeb25beee7a326e8c37
BLAKE2b-256 cc910cac673ff018958286d244d33d0551b1b9329a5416adc4a6207f81bfc779

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page