Skip to main content

reverb-python

PyPI Python versions License: MIT

A Python CLI and client library for Reverb's API.

Install

pip install reverb-python   # or: uv add reverb-python

The CLI and client authenticate with a Reverb personal access token, read from the REVERB_PERSONAL_ACCESS_TOKEN environment variable:

export REVERB_PERSONAL_ACCESS_TOKEN="your-token"
reverb --help

(Product search and price guide are public and need no token.)

Usage

CLI

Listings

Command Description
reverb listings list Your live listings
reverb listings list --ownership all --query "fender jazz" Search all listings
reverb listings list --state all Include sold listings
reverb listings list --ownership drafts Your drafts
reverb listings list --condition excellent --price-min 500 Filter by condition/price
reverb listings list --fields title --fields price Choose columns
reverb listings list --output json JSON output

Orders

Command Description
reverb orders list Your selling orders
reverb orders list --side buying Your purchases
reverb orders list --status awaiting_shipment Needs shipping
reverb orders list --status awaiting_feedback Needs feedback
reverb orders list --limit 10 Limit results

Feedback

Command Description
reverb feedback list Received feedback
reverb feedback list --direction sent Feedback you've left

Conversations

Command Description
reverb conversations list All conversations
reverb conversations list --unread-only Unread only
reverb conversations list --search "jazz bass" Search

Payouts

Command Description
reverb payouts list All payouts

Products & Price Guide

Command Description
reverb products search --query "Telecaster" Search product catalog
reverb products search --make Fender --query "American Vintage 62 Precision Bass" Narrow by brand
reverb products price-guide <id> Price history for a product
reverb products price-guide <id> --condition used --number-of-months 12 Longer price history

Account

Command Description
reverb account show Profile details
reverb account counts Actionable item counts
reverb account addresses Saved addresses

Client library

>>> from reverb_python.client import ReverbHttpClient
>>> from reverb_python.enums import ListingOwnership, PriceGuideCondition, ReverbEndpoint
>>> from reverb_python.schemas.listings import ListingSearchFilters

>>> client = ReverbHttpClient(personal_access_token="your-token")

>>> listings = client.get_listings(filters=ListingSearchFilters(query="fender jazz bass"), ownership=ListingOwnership.MINE)
>>> orders = client.get_orders(endpoint=ReverbEndpoint.MY_ORDERS_SELLING_ALL)
>>> feedback = client.get_feedback(endpoint=ReverbEndpoint.MY_FEEDBACK_RECEIVED)
>>> conversations = client.get_conversations(unread_only=True)
>>> payouts = client.get_payouts()
>>> account = client.get_account()
>>> counts = client.get_counts()
>>> products = client.search_comparison_shopping_pages(make="Fender", query="American Vintage 62 Precision Bass")
>>> price_guide = client.get_price_guide(product_id=products[0].id, condition=PriceGuideCondition.USED, number_of_months=12)

Development

See docs/DEVELOPMENT.md.

Release files for reverb-python 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for reverb-python 0.1.0
File Size Uploaded
reverb_python-0.1.0.tar.gz 16.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for reverb-python 0.1.0
File Interpreter ABI Platform
reverb_python-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 48.9 kB

Release files / reverb_python-0.1.0.tar.gz

Download URL reverb_python-0.1.0.tar.gz
Size 16.5 kB
Tags Source
SHA-256 checksum
How to use checksums
b68f8dbb5e1f1f39320e8883a137ca504f840b33060eabf02f0d89e0bea68b74
BLAKE2b-256 checksum
How to use checksums
e90b3ece59ddcd7d7c231919cd50f1ccedb05b81e35c2588054ec931ee3dd374
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.10.6 {"installer":{"name":"uv","version":"0.10.6","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / reverb_python-0.1.0-py3-none-any.whl

Download URL reverb_python-0.1.0-py3-none-any.whl
Size 32.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f290765889098d0413701d465477f89ce30c40a16eb77600e364fc7b33f049a5
BLAKE2b-256 checksum
How to use checksums
d8e719d6f6806b0649e03a6614e1eec81d5e4b1be60a6dbae9fc8408cd70730b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.10.6 {"installer":{"name":"uv","version":"0.10.6","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page