Skip to content

Python Library to simplify access to Travel Intelligence Web Services

License

Notifications You must be signed in to change notification settings

travel-intelligence/TIpy

Repository files navigation

TI Api Python Wrapper

This project contains a class to communicate with the Amadeus Travel Intelligence Web Services

Usage

The TIAPICommunicator needs to be initialized with a backend:

from travel_intelligence.TIAPICommunicator import TIAPICommunicator
communicator = TIAPICommunicator("https://api.travel-intelligence.com/")

Then we start a session with the user and password:

communicator.start_Session("[email protected]","XXX")

WE can then access to the different service in Travel Intelligence. See dev.travel-intelligence.com for more information:

response = communicator.accessService("api/search_by_search_period",None,{"market":country,"ptype":"q","period":str(year)+"-"+str(quarter),"onds":ond})

About

Python Library to simplify access to Travel Intelligence Web Services

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages