Skip to main content

wink-sdk-channel-manager

APIs

Not every integrator needs every APIs. For that reason, we have separated APIs into context.

  • Affiliate: All APIs related to selling travel inventory as an affiliate.
  • Analytics: All APIs related to tracking metrics across a wide variety of data source segments including, more entertaining, leaderboard metrics.
  • Booking: All APIs related to creating platform bookings.
  • Channel Manager: All APIs related to channel managers who want to integrate with our platform.
  • Extranet: All APIs related to managing travel inventory and suppliers.
  • Inventory: All APIs related to retrieve known travel inventory as it was found using the Lookup API..
  • Lookup: All APIs related to locating inventory by region, locale and property flags.
  • Reference: All APIs related to retrieving platform-supported taxonomies.
  • TripPay: All APIs related to TripPay account management, booking, mapping and integration features.

SDKs

We are actively working on supporting the most used languages out there. If you don't see your language here, reach out to us with a request to officially add your language. In the meantime, if you want to roll your own SDK, you can do so by downloading the OpenAPI spec and using one of the many available OpenAPI generators available: https://openapi-generator.tech/docs/generators.

Usage

These features are made available to you via a REST API. This API is language agnostic.

Versioning

We chose to version our endpoints in a way that we hope affects your integration with us the least. You request the version of our API you wish to work with via the Wink-Version header. When it's time for you to upgrade, you only have to change the version number to get access to our updated endpoints.

Release history

Channel Manager API

Wink exposes a secured REST-based, JSON API to its channel manager partners. The connection is "channel-wide". Partners are free to integrate with the REST-based API using any programming language.

Intended Audience

This document is intended for external channel partners who wish to integrate with Wink.

Requirements

  • Active account with Wink. Sign up for your Channel Manager account:
  • Active application. An application provides you with Oauth2 credentials you can pass to our endpoints. One is already created for you upon account creation.
  • Your production IP numbers. They need to be whitelisted before you can talk to our production environment.

Performance

A particular attention to performance should be given when integrating with this API. A few things to be aware of:

  • Enable gzip compression to make payloads smaller.
  • Fewer large REST calls are preferred to many small ones. E.g. It is better to update many dates instead of individual dates.
  • It is possible to update both rate and availability with a single request.
  • Request only date ranges that you will use. There is no need to request an entire year if you will only be working with the first seven days.

Reservation notification (PUSH)

Wink supports PUSH notifications to communicate reservations. We also support BASIC AUTH to your endpoint. If you want to enable PUSH, add your PUSH endpoint and credentials (optional) to your account.

This Python package is automatically generated by the OpenAPI Generator project:

  • API version: 30.30.1
  • Package version: 0.0.58
  • Generator version: 7.17.0
  • Build package: org.openapitools.codegen.languages.PythonClientCodegen

Requirements.

Python 3.9+

Installation & Usage

pip install

You can install the package from PyPi using:

pip install wink_sdk_channel_manager

Or you can install it directly from the repository using:

pip install git+https://github.com/wink-travel/wink-sdk-python.git@v0.0.58#egg=wink_sdk_channel_manager&subdirectory=wink-sdk-channel-manager

(you may need to run pip with root permission: sudo pip install git+https://github.com/wink-travel/wink-sdk-python.git@v0.0.58#egg=wink_sdk_channel_manager&subdirectory=wink_sdk_channel_manager)

Then import the package:

import wink_sdk_channel_manager

Setuptools

Install via Setuptools.

python setup.py install --user

(or sudo python setup.py install to install the package for all users)

Then import the package:

import wink_sdk_channel_manager

Tests

Execute pytest to run the tests.

Getting Started

Please follow the installation procedure and then run the following:

import wink_sdk_channel_manager
from wink_sdk_channel_manager.rest import ApiException
from pprint import pprint

# Defining the host is optional and defaults to https://integrations.wink.travel
# See configuration.py for a list of all supported configuration parameters.
configuration = wink_sdk_channel_manager.Configuration(
    host = "https://integrations.wink.travel"
)

# 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.

configuration.access_token = os.environ["ACCESS_TOKEN"]


# Enter a context with an instance of the API client
with wink_sdk_channel_manager.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = wink_sdk_channel_manager.ChannelManagerApi(api_client)
    wink_version = 'wink_version_example' # str |  (optional)
    accept = 'accept_example' # str |  (optional)

    try:
        # Say Hello
        api_response = api_instance.ping(wink_version=wink_version, accept=accept)
        print("The response of ChannelManagerApi->ping:\n")
        pprint(api_response)
    except ApiException as e:
        print("Exception when calling ChannelManagerApi->ping: %s\n" % e)

Documentation for API Endpoints

All URIs are relative to https://integrations.wink.travel

Class Method HTTP request Description
ChannelManagerApi ping GET /api/channel-manager/ping Say Hello
ChannelManagerApi show_properties GET /api/channel-manager/property/list Show Properties
ChannelManagerApi show_property GET /api/channel-manager/property/{propertyIdentifier} Show Property
ChannelManagerApi show_property_booking GET /api/channel-manager/property/{propertyIdentifier}/booking/{bookingIdentifier} Show Booking
ChannelManagerApi show_property_bookings GET /api/channel-manager/property/{propertyIdentifier}/booking/list Show Bookings
ChannelManagerApi show_property_room_rates GET /api/channel-manager/property/{propertyIdentifier}/master-rate/{masterRateIdentifier} Show Daily Rates
ChannelManagerApi update_rates PUT /api/channel-manager/property/{propertyIdentifier}/master-rate/{masterRateIdentifier} Update Daily Rates

Documentation For Models

Documentation For Authorization

Authentication schemes defined for the API:

oAuth2ClientCredentials

  • Type: OAuth
  • Flow: application
  • Authorization URL: https://iam.wink.travel/oauth2/authorize
  • Scopes:
  • integrations.read: Read Wink data
  • integrations.write: Create Wink data
  • integrations.remove: Remove Wink data

Author

bjorn@wink.travel

Metadata

Release files for wink-sdk-channel-manager 0.0.58

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for wink-sdk-channel-manager 0.0.58
File Size Uploaded Provenance Actions
wink_sdk_channel_manager-0.0.58.tar.gz 51.8 kB Without provenance Details for wink_sdk_channel_manager-0.0.58.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for wink-sdk-channel-manager 0.0.58
File Interpreter ABI Platform Actions
wink_sdk_channel_manager-0.0.58-py3-none-any.whl Python 3 none any Details for wink_sdk_channel_manager-0.0.58-py3-none-any.whl

Total release size: 152.1 kB

Release files / wink_sdk_channel_manager-0.0.58.tar.gz

Download URL wink_sdk_channel_manager-0.0.58.tar.gz
Size 51.8 kB
Tags Source
SHA-256 checksum
How to use checksums
d1f633ee0dc07c25d8d87695a97ee21cc9ea0bbe7a5f24f355158c6641ac76d1
BLAKE2b-256 checksum
How to use checksums
80570dd9be49065fd60c1eb6c40f73b1efddd1faca38998e1d695267d5681ed5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.9

Release files / wink_sdk_channel_manager-0.0.58-py3-none-any.whl

Download URL wink_sdk_channel_manager-0.0.58-py3-none-any.whl
Size 100.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3f3f4c95f70b84234e7c4577f6e6f44a0ff83daa487a0059d7beac51513e7186
BLAKE2b-256 checksum
How to use checksums
d4cfac0e6c5ae644d6d8db216a68fb57893e447f4af583142500b89789a88b16
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.9

Security for wink-sdk-channel-manager 0.0.58

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.0.58 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page