Quickpac API
Project description
Quickpac
Here you will find all public interfaces to the Quickpac system.
This Python package is automatically generated by the Swagger Codegen project:
- API version: v1.00
- Package version: 1.0.0
- Build package: io.swagger.codegen.v3.generators.python.PythonClientCodegen
Requirements.
Python 3.4+
Installation & Usage
pip install
pip install quickpac
Or you can install directly from Github:
pip install git+https://github.com/camptocamp/quickpac-client.git
Swagger client generation
Generate via Swagger codegen.
Getting Started
Please follow the installation procedure and then run the following:
import quickpac
from quickpac.rest import ApiException
from pprint import pprint
# Configure HTTP basic authorization: Basic
configuration = quickpac.Configuration()
configuration.username = 'YOUR_USERNAME'
configuration.password = 'YOUR_PASSWORD'
# create an instance of the API class
api_instance = quickpac.BarcodeApi(quickpac.ApiClient(configuration))
body = quickpac.GenerateLabelRequest() # GenerateLabelRequest | (optional)
try:
# Generates an address label
api_response = api_instance.barcode_generate_label_post(body=body)
pprint(api_response)
except ApiException as e:
print("Exception when calling BarcodeApi->barcode_generate_label_post: %s\n" % e)
Documentation for API Endpoints
All URIs are relative to https://api.quickpac.ch
Class | Method | HTTP request | Description |
---|---|---|---|
BarcodeApi | barcode_generate_label_post | POST /Barcode/GenerateLabel | Generates an address label |
PickupMigrosApi | pickmup_set_paket_status_get | GET /Pickmup/SetPaketStatus | SetPaketStatus |
PickupMigrosApi | pickmup_set_paket_status_post | POST /Pickmup/SetPaketStatus | SetPaketStatus |
PickupMigrosApi | pickmup_set_ruecksendung_get | GET /Pickmup/SetRuecksendung | SetRuecksendung |
PickupMigrosApi | pickmup_set_ruecksendung_post | POST /Pickmup/SetRuecksendung | SetRuecksendung |
ZIPApi | z_ip_get_all_zip_codes_get | GET /ZIP/GetAllZipCodes | Returns all currently deliverable and planned postcodes. |
ZIPApi | z_ip_is_deliverable_zip_code_get | GET /ZIP/IsDeliverableZipCode | Checks whether the requested postcode can currently be delivered. |
Documentation For Models
- Communication
- Dimensions
- GenerateLabelCustomer
- GenerateLabelDefinition
- GenerateLabelEnvelope
- GenerateLabelFileInfos
- GenerateLabelRequest
- GenerateLabelResponse
- GenerateLabelResponseDefinition
- GenerateLabelResponseEnvelope
- GenerateLabelResponseEnvelopeData
- GenerateLabelResponseEnvelopeDataProvider
- GenerateLabelResponseEnvelopeDataProviderSending
- Item
- ItemChoiceType
- LabelData
- LabelDataProvider
- LabelDataProviderSending
- LabelResponseItem
- Language
- LanguageCode
- LogoAspectRatio
- LogoHorizontalAlign
- LogoVerticalAlign
- MessageType
- ModeType
- Notification
- NotificationType
- PickupMigrosCallbackResultResponse
- PickupMigrosSetPaketStatusRequest
- PickupMigrosSetRuecksendung
- PrintAddressesType
- Recipient
- ServiceCodeAttributes
- ZIPAllResponse
- ZIPIsCurrentResponse
- ZIPModel
Documentation For Authorization
Basic
- Type: HTTP basic authentication