purl 这是一个类似 curl 的 CLI,用于发送需要付费的 HTTP 请求。它适用于人类和代理程序。通过 Homebrew bash 进行安装 ...
purl 这是一个类似 curl 的 CLI,用于发送需要付费的 HTTP 请求。它适用于人类和代理程序。通过 Homebrew bash 进行安装 ...
A curl-esque CLI for making HTTP requests that require payment. Designed for humans and agents alike.
via Homebrew
brew install stripe/purl/purlvia source
git clone https://github.com/stripe/purl
cd purl
cargo install --locked --path cliRequires Rust. Ensure ~/.cargo/bin is in your PATH.
It is recommended to use a wallet dedicated for usage with purl.
# Set up your wallet
purl wallet add
# Preview payment without executing
purl --dry-run https://api.example.com/data
# Make a request
purl https://api.example.com/data
# Require confirmation before paying
purl --confirm https://api.example.com/data
# Understand payment requirements for a resource
purl inspect http://api.example.com/data
# See your balance
purl balance
# See and manage wallets
purl wallet listpurl [OPTIONS]
purl Run purl help for all commands or purl topics for detailed documentation.
make build # Build
make test # Run tests
make release # Build release binary暂无开放 Issues,或尚未同步最近议题。