@polyman/cli
v0.1.0
Published
CLI tool for interacting with Polymarket APIs
Readme
polyman CLI
Command-line tool for interacting with Polymarket APIs.
Installation
npm install -g polymanCommands
Gamma API — market discovery
# List active markets
polyman gamma markets
polyman gamma markets --limit 20
polyman gamma markets --category Politics
polyman gamma markets --closed # include closed markets
# Fetch a single market
polyman gamma market <slug>
# List events
polyman gamma events
polyman gamma events --limit 10 --category CryptoData API — positions & history
# Open positions for a wallet
polyman data positions <wallet>
polyman data positions <wallet> --limit 100
# Trade history
polyman data activity <wallet>
polyman data activity <wallet> --limit 50
# Portfolio value
polyman data portfolio <wallet>Proxy
Set HTTPS_PROXY or HTTP_PROXY to route through a proxy:
export https_proxy=http://127.0.0.1:7890
polyman gamma marketsDevelopment
Run directly from source without building:
# From monorepo root
pnpm gamma markets --limit 5
pnpm data positions <wallet>License
ISC
