Contents Menu Expand Light mode Dark mode Auto light/dark mode
requests-cache 0.9.8 documentation
Light Logo Dark Logo
  • User Guide
    • Installation
    • General Usage
    • Cache Files
    • Troubleshooting
    • Backends
    • Cache Filtering
    • Cache Headers
    • Cache Inspection
    • Expiration
    • Request Matching
    • Security
    • Serializers
    • Advanced Requests
    • Usage with other requests-based libraries
  • API Reference
    • Session
    • Patcher
    • Backends
      • Base
      • DynamoDB
      • Filesystem
      • GridFS
      • MongoDB
      • Redis
      • SQLite
    • Models
      • Raw Response
      • Request
      • Response
    • Policy
      • Actions
    • Serializers
      • Cattrs
      • Pipeline
      • Preconf
    • Cache Keys
  • Examples
  • Project Info
    • Contributing
      • Note to Code Shelter maintainers
    • Contributors
    • Code of Conduct
    • Related Projects
    • History
Back to top

API Reference#

This section covers all the public interfaces of requests-cache.

Tip

It’s recommended to import from the top-level requests_cache package, as internal module paths may be subject to change. For example:

from requests_cache import CachedSession, RedisCache, json_serializer
  • Session
  • Patcher
  • Backends
    • Base
    • DynamoDB
    • Filesystem
    • GridFS
    • MongoDB
    • Redis
    • SQLite
  • Models
    • Raw Response
    • Request
    • Response
  • Policy
    • Actions
  • Serializers
    • Cattrs
    • Pipeline
    • Preconf
  • Cache Keys
Next
Session
Previous
Usage with other requests-based libraries
Made with Furo