Guide
CLI Guide
From zero to your first query in a few minutes — no code required beyond the terminal.
Quick start4 commands
$ brew install restish
$ restish api connect pff https://api.pff.com
$ restish pff whoami # opens your browser once
$ restish pff passing --league nfl --season 2025
01Install the CLIInstall Restish 2 — the open-source CLI the PFF Developer API is built for — with Homebrew, mise, Go, or a release archive on Windows and Linux, then set up your shell in one command.02Configure & connectConnect Restish to https://api.pff.com once — it reads the OpenAPI document, generates every restish pff command, and pre-configures browser sign-in. Nothing to edit by hand.03AuthenticationTwo ways to prove who you are to the PFF Developer API — browser sign-in through the CLI, or an API key for scripts, CI and any HTTP client. How to get a key, how to send it with curl or Restish, and what every 401 and 403 means. PFF Pro required.04Log in with your PFF accountSign in once in the browser with your PFF account and Restish keeps you signed in. Covers headless sign-in over SSH, whoami, logging out, and API keys for scripts and CI. PFF Pro required.05Querying dataHow restish pff commands are shaped, the ones you will use most — leagues, games, players, team and player reports, leaderboards, PFF's own team tables — and how to filter, pick columns, and format the output.06Exporting to CSV & filesSave any PFF leaderboard or report to a CSV or JSON file: the --export flag, why you need --rsh-print b, and ready-to-paste recipes for spreadsheets, notebooks, jq, and CI.07TroubleshootingEvery error the PFF CLI can show — connection and spec problems, 401 and 403 subscription checks, "Preparing your session", rate limits — with the one-line fix for each.