data/pub_api_client library

HTTP client for the pub.dev API.

Handles concurrency limiting, exponential back-off on rate limits or transient errors, response parsing, and optional disk caching (24-hour TTL by default). All fetch operations are safe to run concurrently up to the configured concurrency limit.

Classes

PubApiClient
Fetches and parses pub.dev package metadata.