Contents Menu Expand Light mode Dark mode Auto light/dark mode
requests-cache 0.9.5 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
    • Serializers
      • Cattrs
      • Pipeline
      • Preconf
    • Cache Keys
    • Cache Control
  • Examples
  • Project Info
    • Contributing
      • Note to Code Shelter maintainers
    • Contributors
    • Code of Conduct
    • Related Projects
    • History
  v: stable
Versions
latest
stable
v0.9.5
v0.9.4
v0.9.3
v0.9.2
v0.9.1
v0.9.0
v0.8.1
v0.8.0
v0.7.5
v0.7.4
v0.7.3
v0.7.2
v0.7.1
v0.7.0
v0.6.4
v0.6.3
v0.6.2
v0.6.1
v0.6.0
v0.5.0
v0.4.13
v0.4.0
v0.3.0
v0.2.1
v0.2.0
Downloads
On Read the Docs
Project Home
Builds
Back to top
Edit this page

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
  • Serializers
    • Cattrs
    • Pipeline
    • Preconf
  • Cache Keys
  • Cache Control
Next
Session
Previous
Usage with other requests-based libraries
Made with Furo
Contents
  • API Reference