Skip to content

Mountainash API Client

An intelligent textbook for the mountainash-api-client declarative REST API integration framework.

Textbook deferred — unavailable. The inherited chapter outline and topics below are retained for reference; no textbook is currently published. The source repository is now named mountainash-http-client.

Source repository

Chapters

  1. Foundations
  2. Endpoint Model
  3. Parameter Binding
  4. Pagination Strategies
  5. Authentication
  6. Retry Configuration
  7. Rate Limiting
  8. Error Handling
  9. Fetch Pipeline

Key Topics

  • Declarative endpoint model -- ApiEndpoint dataclass with ParamBinding system and DateRangeIteration for describing REST API contracts without boilerplate
  • Pagination strategies -- cursor, offset, page-number, and no-pagination strategy types covering the common REST API pagination patterns
  • Retry and rate limiting -- RetryConfig and RateLimitWindow with proactive rate-limit enforcement to build resilient API consumers
  • Typed error handling -- nine-member ApiFetchError exception hierarchy for precise error discrimination and recovery
  • Fetch pipeline -- make_fetch_step() factory wiring request execution, response validation, and configuration resolution into a single composable step