polyte-cli-0.3.2 is not a library.
polyte-cli
CLI tool for querying Polymarket APIs.
Installation
Install using cargo
Or download binaries directly from Github releases
curl -fsSL https://raw.githubusercontent.com/roushou/polyte/main/scripts/install.sh | sh
Usage
Gamma API
Query market data from the Gamma API.
Markets
# List markets
# Get a market by condition ID
Display all supported features
polyte gamma --help
Data API
Query Data API.
Markets
# List user activity
# List builders leaderboard
Display all supported features
polyte data --help
WebSocket
Subscribe to real-time market data and user updates.
# Subscribe to market channel (order book, prices)
# Only show trades, exit after 10 messages
# Run for 30 seconds with summary output
# Subscribe to user channel (requires API credentials)
Display all supported features
polyte ws --help
Shell completions
For convenience, shell completions can be generated too
# Generate completions for Fish shell
polyte completions fish
License
This project is licensed under the MIT License.