Package: gigs-client
gigs-clientAPI to manage voice & data plans for smartphones, wearables and IoT in 200+ countries.This Python package is automatically generated by theOpenAPI Generatorproject:API version: 0.0.1Package version: 0.0.1Build package: org.openapitools.codegen.languages.PythonClientCodegenRequirements.Python 3.7+Installation & Usagepip installIf the python package is hosted on a repository, you can install directly using:pipinstallgit+https://github.com/SwadeshInc/gigs_py_client.git(you may need to runpipwith root permission:sudo pip install git+https://github.com/SwadeshInc/gigs_py_client.git)Then import the package:importgigs_clientSetuptoolsInstall viaSetuptools.pythonsetup.pyinstall--user(orsudo python setup.py installto install the package for all users)Then import the package:importgigs_clientTestsExecutepytestto run the tests.Getting StartedPlease follow theinstallation procedureand then run the following:importtimeimportgigs_clientfromgigs_client.restimportApiExceptionfrompprintimportpprint# Defining the host is optional and defaults to https://api.gigs.com# See configuration.py for a list of all supported configuration parameters.configuration=gigs_client.Configuration(host="https://api.gigs.com")# The client must configure the authentication and authorization parameters# in accordance with the API server security policy.# Examples for each auth method are provided below, use the example that# satisfies your auth use case.# Configure Bearer authorization: bearerAuthconfiguration=gigs_client.Configuration(access_token=os.environ["BEARER_TOKEN"])# Enter a context with an instance of the API clientwithgigs_client.ApiClient(configuration)asapi_client:# Create an instance of the API classapi_instance=gigs_client.AddonsApi(api_client)project=None# object | The unique identifier for the [project](https://developers.gigs.com/docs/api/b3A6MzMwODcxMzI-retrieve-a-project).addon=None# object | The unique identifier for the addon.try:# Archive an addonapi_response=api_instance.addons_archive(project,addon)print("The response of AddonsApi->addons_archive:\n")pprint(api_response)exceptApiExceptionase:print("Exception when calling AddonsApi->addons_archive:%s\n"%e)Documentation for API EndpointsAll URIs are relative tohttps://api.gigs.comClassMethodHTTP requestDescriptionAddonsApiaddons_archivePOST/projects/{project}/addons/{addon}/archiveArchive an addonAddonsApiaddons_listGET/projects/{project}/addonsList all addonsAddonsApiaddons_publishPOST/projects/{project}/addons/{addon}/publishPublish an addonAddonsApiaddons_retrieveGET/projects/{project}/addons/{addon}Retrieve an addonAddonsApiaddons_updatePATCH/projects/{project}/addons/{addon}Update an addonDevicesApidevice_model_brands_listGET/deviceModelBrandsList all device model brandsDevicesApidevice_models_listGET/deviceModelsList all device modelsDevicesApidevice_models_retrieveGET/deviceModels/{id}Retrieve a device modelDevicesApidevice_models_searchPOST/deviceModels/searchSearch for device modelsDevicesApidevices_createPOST/projects/{project}/devicesCreate a deviceDevicesApidevices_deleteDELETE/projects/{project}/devices/{id}Delete a deviceDevicesApidevices_listGET/projects/{project}/devicesList all devicesDevicesApidevices_retrieveGET/projects/{project}/devices/{id}Retrieve a deviceDevicesApidevices_searchPOST/projects/{project}/devices/searchSearch for devicesDevicesApidevices_updatePATCH/projects/{project}/devices/{id}Update a devicePlansApiplan_documents_listGET/projects/{project}/plans/{plan}/documentsList all plan documentsPlansApiplan_documents_retrieveGET/projects/{project}/plans/{plan}/documents/{id}Retrieve a plan documentPlansApiplans_archivePOST/projects/{project}/plans/{plan}/archiveArchive a planPlansApiplans_listGET/projects/{project}/plansList all plansPlansApiplans_publishPOST/projects/{project}/plans/{plan}/publishPublish a planPlansApiplans_retrieveGET/projects/{project}/plans/{plan}Retrieve a planPlansApiplans_searchPOST/projects/{project}/plans/searchSearch for PlansPlansApiplans_updatePATCH/projects/{project}/plans/{plan}Update a planPortingsApiportings_cancelPOST/projects/{project}/portings/{id}/cancelCancel a portingPortingsApiportings_createPOST/projects/{project}/portingsCreate a portingPortingsApiportings_listGET/projects/{project}/portingsList all portingsPortingsApiportings_retrieveGET/projects/{project}/portings/{id}Retrieve a PortingPortingsApiportings_updatePATCH/projects/{project}/portings/{id}Update a portingPortingsApiservice_providers_listGET/serviceProvidersList all service providersPortingsApiservice_providers_retrieveGET/serviceProviders/{id}Retrieve a service providerProjectsApiprojects_credentialsGET/projects/{project}/credentialsRetrieve the project credentialsProjectsApiprojects_listGET/projectsList all projectsProjectsApiprojects_retrieveGET/projects/{project}Retrieve a projectSIMsApisims_credentialsGET/projects/{project}/sims/{id}/credentialsRetrieve the SIM credentialsSIMsApisims_listGET/projects/{project}/simsList all SIMsSIMsApisims_retrieveGET/projects/{project}/sims/{id}Retrieve a SIMSIMsApisims_searchPOST/projects/{project}/sims/searchSearch for SIMsSubscriptionAddonsApisubscription_addons_createPOST/projects/{project}/subscriptionAddonsCreate a subscription addonSubscriptionAddonsApisubscription_addons_endDELETE/projects/{project}/subscriptionAddons/{id}End a subscription addonSubscriptionAddonsApisubscription_addons_listGET/projects/{project}/subscriptionAddonsList all subscription addonsSubscriptionAddonsApisubscription_addons_retrieveGET/projects/{project}/subscriptionAddons/{id}Retrieve a subscription addonSubscriptionChangesApisubscription_changes_createPOST/projects/{project}/subscriptionChangesCreate a subscription changeSubscriptionChangesApisubscription_changes_deleteDELETE/projects/{project}/subscriptionChanges/{id}Delete a subscription changeSubscriptionChangesApisubscription_changes_listGET/projects/{project}/subscriptionChangesList all subscription changesSubscriptionChangesApisubscription_changes_retrieveGET/projects/{project}/subscriptionChanges/{id}Retrieve a subscription changeSubscriptionsApisubscriptions_cancelPOST/projects/{project}/subscriptions/{id}/cancelCancel an active subscriptionSubscriptionsApisubscriptions_createPOST/projects/{project}/subscriptionsCreate a subscriptionSubscriptionsApisubscriptions_endDELETE/projects/{project}/subscriptions/{id}End an active subscriptionSubscriptionsApisubscriptions_listGET/projects/{project}/subscriptionsList all subscriptionsSubscriptionsApisubscriptions_resumePOST/projects/{project}/subscriptions/{id}/resumeResume a canceled subscriptionSubscriptionsApisubscriptions_retrieveGET/projects/{project}/subscriptions/{id}Retrieve a subscriptionSubscriptionsApisubscriptions_searchPOST/projects/{project}/subscriptions/searchSearch for subscriptionsUsageApisubscription_usage_listGET/projects/{project}/subscriptions/{id}/usageList subscription usage recordsUserAddressesApiuser_addresses_createPOST/projects/{project}/users/{user}/addressesCreate a user addressUserAddressesApiuser_addresses_deleteDELETE/projects/{project}/users/{user}/addresses/{id}Delete a user addressUserAddressesApiuser_addresses_listGET/projects/{project}/users/{user}/addressesList all user addressesUserAddressesApiuser_addresses_retrieveGET/projects/{project}/users/{user}/addresses/{id}Retrieve a user addressUsersApiusers_createPOST/projects/{project}/usersCreate a userUsersApiusers_deleteDELETE/projects/{project}/users/{id}Delete a userUsersApiusers_listGET/projects/{project}/usersList all usersUsersApiusers_retrieveGET/projects/{project}/users/{id}Retrieve a userUsersApiusers_searchPOST/projects/{project}/users/searchSearch for usersUsersApiusers_updatePATCH/projects/{project}/users/{id}Update a userDocumentation For ModelsAddonAddonPriceAddonValidityAddonsList200ResponseAddonsUpdateRequestCoverageDeviceDeviceModelDeviceModelBrandsDeviceModelsSearch200ResponseDeviceModelsSearchRequestDeviceUserDevicesCreateRequestDevicesSearch200ResponseDevicesSearchRequestDevicesUpdateRequestErrorOrganizationPeriodPlanPlanDocumentPlanDocumentsList200ResponsePlanRequirementsPlansSearch200ResponsePlansSearchRequestPlansSearchRequestCompatibleWithPlansUpdateRequestPortingPortingDonorProviderPortingRecipientProviderPortingsCreateRequestPortingsList200ResponsePortingsUpdateRequestPriceProjectProjectCredentialsProjectLegalProjectPaymentsProjectSupportProjectsList200ResponsePropertyErrorDetailErrorServiceProviderServiceProvidersList200ResponseSimSimCredentialsSimsSearch200ResponseSimsSearchRequestSubscriptionSubscriptionAddonSubscriptionAddonAddonSubscriptionAddonCurrentPeriodSubscriptionAddonsCreateRequestSubscriptionAddonsList200ResponseSubscriptionChangeSubscriptionChangePlanSubscriptionChangesCreateRequestSubscriptionChangesList200ResponseSubscriptionCurrentPeriodSubscriptionPortingSubscriptionSimSubscriptionUsageList200ResponseSubscriptionsCreateRequestSubscriptionsSearch200ResponseSubscriptionsSearchRequestUsageRecordUserUserAddressUserAddressesCreateRequestUserAddressesList200ResponseUsersCreateRequestUsersSearch200ResponseUsersSearchRequestUsersUpdateRequestValidityDocumentation For AuthorizationAuthentication schemes defined for the API:bearerAuthType: Bearer authenticationAuthorsupport@gigs.com