Package: wingspan-benefits
openapi🏗Welcome to your new SDK!🏗It has been generated successfully based on your OpenAPI spec. However, it is not yet ready for production use. Here are some next steps:🛠 Make your SDK feel handcrafted bycustomizing it♻️ Refine your SDK quickly by iterating locally with theSpeakeasy CLI🎁 Publish your SDK to package managers byconfiguring automatic publishing✨ When ready to productionize, delete this section from the READMESDK Installationpipinstallwingspan_benefitsSDK Example Usageimportsdkfromsdk.modelsimportoperationss=sdk.SDK()res=s.sdk.get_benefits_enrollment_id_(id='string')ifres.enrollmentisnotNone:# handle responsepassAvailable Resources and OperationsSDKget_benefits_enrollment_id_- Retrieve Enrollment Details for a Specific Memberget_benefits_plan_enrollment- List all plan enrollmentsget_benefits_plan_enrollment_id_- Get a particular plan enrollment by IDget_benefits_service- Retrieve Current Benefits Service Statuspatch_benefits_service_id_- Modify Benefits Service StatusError HandlingHandling errors in your SDK should largely match your expectations.  All operations return a response object or raise an error.  If Error objects are specified in your OpenAPI Spec, the SDK will raise the appropriate Error type.Server SelectionSelect Server by IndexYou can override the default server globally by passing a server index to theserver_idx: intoptional parameter when initializing the SDK client instance. The selected server will then be used as the default on the operations that use it. This table lists the indexes associated with the available servers:#ServerVariables0https://api.wingspan.app/benefitsNone1https://stagingapi.wingspan.app/benefitsNoneFor example:importsdkfromsdk.modelsimportoperationss=sdk.SDK(server_idx=1)res=s.sdk.get_benefits_enrollment_id_(id='string')ifres.enrollmentisnotNone:# handle responsepassOverride Server URL Per-ClientThe default server can also be overridden globally by passing a URL to theserver_url: stroptional parameter when initializing the SDK client instance. For example:importsdkfromsdk.modelsimportoperationss=sdk.SDK(server_url="https://api.wingspan.app/benefits")res=s.sdk.get_benefits_enrollment_id_(id='string')ifres.enrollmentisnotNone:# handle responsepassCustom HTTP ClientThe Python SDK makes API calls using the (requests)[https://pypi.org/project/requests/] HTTP library.  In order to provide a convenient way to configure timeouts, cookies, proxies, custom headers, and other low-level configuration, you can initialize the SDK client with a customrequests.Sessionobject.For example, you could specify a header for every request that your sdk makes as follows:importsdkimportrequestshttp_client=requests.Session()http_client.headers.update({'x-custom-header':'someValue'})s=sdk.SDK(client:http_client)DevelopmentMaturityThis SDK is in beta, and there may be breaking changes between versions without a major version update. Therefore, we recommend pinning usage
to a specific package version. This way, you can install the same version each time without breaking changes unless you are intentionally
looking for the latest version.ContributionsWhile we value open-source contributions to this SDK, this library is generated programmatically.
Feel free to open a PR or a Github issue as a proof of concept and we'll do our best to include it in a future release!SDK Created bySpeakeasy