python-client-initializationlisted
Install: claude install-skill MuHamza30/paypal-api-plugin
# Initializing an APIMatic-generated Python SDK client
Package and class names below are concrete for this SDK; replace the remaining `{...}` placeholders
with the real names from its source:
- `{Resource}Controller` — a controller class in `paypalserversdk/controllers/`.
- `{controller}` — the property that exposes it on the client.
## The shape: flat keyword arguments
> Settings are flat keyword arguments on the client constructor — there is no nested options object.
```python
from paypalserversdk.paypal_serversdk_client import PaypalServersdkClient
from paypalserversdk.configuration import Environment
client = PaypalServersdkClient(
environment=Environment.{MEMBER},
# auth credential objects — see python-authentication
timeout=30, # transport timeout; see python-configuration-resilience
max_retries=0,
)
```
There is **no builder and no nested options object** — retries, timeout, proxy and the credential
objects all sit directly on the constructor. Open `Configuration.__init__` in
`paypalserversdk/configuration.py` for the exact parameter set **and its defaults**; it varies per API
but always includes `http_client_instance`, `override_http_client_configuration`, `http_call_back`,
`logging_configuration`,
`timeout`, `max_retries`, `backoff_factor`, `retry_statuses`, `retry_methods`, `proxy_settings` and
`environment`, plus the credential objects for the schemes the API uses and any server parameters the
base-URL template needs. `doc/client.md`