Skip to main content

Documentation Index

Fetch the complete documentation index at: https://mintlify.com/xmistt/rebootpy/llms.txt

Use this file to discover all available pages before exploring further.

HTTPRetryConfig

Configuration for how HTTPClient should handle retries.
Messing with these values could potentially make retries spammy. Worst case scenario of this would be that either your IP or your account could be limited due to high traffic. Change these values with caution!

Parameters

max_retry_attempts
int
default:"5"
The max amount of retry attempts for a request.
This is ignored when handling capacity throttling.
max_wait_time
Optional[float]
default:"65"
The max amount of seconds to wait for a request before raising the original exception. This works by keeping track of the total seconds that has been waited for the request regardless of number of attempts. If None this is ignored.
handle_rate_limits
bool
default:"True"
Whether or not the client should handle rate limit errors and wait the received Retry-After before automatically retrying the request.
This option is only for throttling errors with a Retry-After value.
max_retry_after
float
default:"60"
The max amount of seconds the client should handle. If a throttled error with a higher Retry-After than this value is received, then the original HTTPException is raised instead.Only matters when handle_rate_limits is True.
other_requests_wait
bool
default:"True"
Whether other requests to a rate limited endpoint should wait for the rate limit to disappear before requesting.Only matters when handle_rate_limits is True.
handle_capacity_throttling
bool
default:"True"
Whether or not the client should automatically handle capacity throttling.

Example

import rebootpy

# Create custom retry configuration
retry_config = rebootpy.HTTPRetryConfig(
    max_retry_attempts=10,
    max_wait_time=120,
    handle_rate_limits=True,
    max_retry_after=90
)

client = rebootpy.Client(
    auth=rebootpy.AdvancedAuth(),
    http_retry_config=retry_config
)

Route

Represents an HTTP route for making requests to Epic Games services.
This class is typically used internally by the library. Most users won’t need to interact with it directly.

Example

import rebootpy

# Routes are used internally
route = rebootpy.Route(
    method='GET',
    path='/account/api/public/account/{account_id}'
)
  • Client - Client accepts http_retry_config parameter
  • Exceptions - HTTPException can be raised during requests

Build docs developers (and LLMs) love