Skip to main content

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

Documentation For Authorization

Basic

  • Type: HTTP basic authentication

Author

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

quickpac-1.0.0.tar.gz (35.7 kB view hashes)

Uploaded Source

Built Distribution

quickpac-1.0.0-py3-none-any.whl (98.9 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page