{ "info": { "author": "Mark Bundgus", "author_email": "bundgus@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Operating System :: OS Independent", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": ".. image:: https://img.shields.io/badge/pypi-0.2.0-blue.svg\n :target: https://pypi.python.org/pypi/bravado/\n :alt: PyPi version\n\n.. image:: https://img.shields.io/badge/python-3.6-blue.svg\n :target: https://???/scabbard/\n :alt: Supported Python versions\n\nScabbard\n==========\n\nAbout\n-----\n\nScabbard is a Pythonic client for the Sabre Dev Studio REST APIs. With Scabbard, it\nis not necessary to create extensive low-level boilerplate code before you can use each API call.\nYou can begin to interact with the Sabre Dev Studio APIs with as few as 3 lines of code.\n\nA scabbard is a sheath for holding a sword, such as a sabre - https://en.wikipedia.org/wiki/Scabbard\n\n.. image:: https://upload.wikimedia.org/wikipedia/commons/a/af/Arms_and_Armor.jpg\n :height: 170 px\n :width: 512 px\n :scale: 50 %\n :alt: Princely Mughal sabre with jewelled scabbard\n :align: left\n\nFeatures\n--------\n\nDefined Scabbard REST endpoints can be reviewed in the SwaggerUI:\n https://bundgus.github.io/scabbard/SwaggerUI/index.html\n\nDocumentation\n-------------\n\nSabre Dev Studio API Documentation:\n https://developer.sabre.com/docs/read/Home\n\nSabre Dev Studio REST API documentation:\n https://developer.sabre.com/docs/read/rest_apis/\n\n https://developer.sabre.com/io-docs\n\nScabbard docs:\n https://bundgus.github.io/scabbard/html/\n\nScabbard SwaggerUI:\n https://bundgus.github.io/scabbard/SwaggerUI/index.html\n\nScabbard GitHub Home:\n https://github.com/bundgus/scabbard\n\nScabbard PyPi Home:\n https://pypi.python.org/pypi/scabbard\n\n\nGetting Started\n---------------\n\n(1)\nYou can register for a free Sabre Dev Studio account at the following URL:\n\nhttps://developer.sabre.com/apps/mykeys\n\n(2)\nInstall the scabbard library with pip.\n\n.. code-block:: bash\n\n $ pip install scabbard\n\n(3)\nA file called api_connect_parameters.json must exist in the directory\nin which python is run, with your Sabre Dev Studio clientID and clientSecret credentials.\n\napi_connect_parameters.json\n\n.. code-block:: javascript\n\n {\n \"clientId\": \"zzzzzzzzzzzzzzzz\",\n \"clientSecret\": \"xxxxxxxx\",\n \"environment\": \"https://api.test.sabre.com\",\n \"group\": \"DEVCENTER\",\n \"domain\": \"EXT\",\n \"formatVersion\": \"V1\"\n }\n\n\n(4)\nRun code to exercise the API. For example:\n\nexample_V1ListsSupportedCountriesGet.py\n\n.. code-block:: Python\n\n import scabbard\n\n client = scabbard.get_client()\n countries = client.Air_Utility.V1ListsSupportedCountriesGet(pointofsalecountry='NZ').result()\n\n print('PointOfSale')\n print(countries.PointOfSale)\n\n print('OriginCountries')\n for c in countries.OriginCountries:\n print(c.CountryCode, c.CountryName)\n\n print('DestinationCountries')\n for c in countries.DestinationCountries:\n print(c.CountryCode, c.CountryName)\n\n print('Links')\n for l in countries.Links:\n print(l.rel)\n print(l.href)\n\n(5)\nRun your python example.\n\n.. code-block:: bash\n\n $ python example_V1ListsSupportedCountriesGet.py\n\n PointOfSale\n NZ\n OriginCountries\n AU Australia\n ID Indonesia\n IE Ireland\n NZ New Zealand\n TH Thailand\n GB United Kingdom\n DestinationCountries\n AU Australia\n FR France\n DE Germany\n HK Hong Kong\n IN India\n ID Indonesia\n IE Ireland\n MY Malaysia\n NL Netherlands\n NZ New Zealand\n PH Philippines\n SG Singapore\n TH Thailand\n GB United Kingdom\n US United States\n Links\n self\n https://api.test.sabre.com/v1/lists/supported/countries?pointofsalecountry=NZ\n linkTemplate\n https://api.test.sabre.com/v1/lists/supported/countries?pointofsalecountry=\n\n\nInstallation\n------------\n\n.. code-block:: bash\n\n $ pip install scabbard\n\nLicense\n-------\n\nCopyright (c) 2018, Mark Bundgus. All rights reserved.\n* not a Sabre provided or supported software library\n* all referenced Sabre content and services are the property of Sabre\n\nScabbard is licensed with a `BSD 3-Clause\nLicense `__.\n\n\n\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/bundgus/scabbard", "keywords": "", "license": "BSD 3-Clause License", "maintainer": "", "maintainer_email": "", "name": "scabbard", "package_url": "https://pypi.org/project/scabbard/", "platform": "", "project_url": "https://pypi.org/project/scabbard/", "project_urls": { "Homepage": "https://github.com/bundgus/scabbard" }, "release_url": "https://pypi.org/project/scabbard/0.2.1/", "requires_dist": [ "bravado (>=9.2.2)", "iso8601", "requests (>=2.18)", "pytz" ], "requires_python": "", "summary": "Pythonic client for Sabre Dev Studio REST APIs", "version": "0.2.1" }, "last_serial": 4447968, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "489ce6279d031e0ce18827d462611046", "sha256": "c4a007d8f3ffd61f6bd24875636037e2aba49a7b21d9276a81a20b2efb0502d3" }, "downloads": -1, "filename": "scabbard-0.1.0-py3-none-any.whl", "has_sig": false, "md5_digest": "489ce6279d031e0ce18827d462611046", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 8449, "upload_time": "2017-12-28T21:12:01", "url": "https://files.pythonhosted.org/packages/d4/98/f38b880e9abe3fd92ae6aba628b37ac1cf7ab89237cf5742c4e1d798f0fc/scabbard-0.1.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "aa4c4b454057f0175c71200aaa8b18c4", "sha256": "0bf94f43bb92e2f65d5986fbc99c6a8b807ce314d547198573f5049db83f821d" }, "downloads": -1, "filename": "scabbard-0.1.0.tar.gz", "has_sig": false, "md5_digest": "aa4c4b454057f0175c71200aaa8b18c4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6595, "upload_time": "2017-12-28T21:12:04", "url": "https://files.pythonhosted.org/packages/ff/18/49f8e960eb714054017bb8dc41da045be4d5983ac7ae2faef76d0ab48efe/scabbard-0.1.0.tar.gz" } ], "0.2.1": [ { "comment_text": "", "digests": { "md5": "2a698793507d5d7bb5b5151d56c429fe", "sha256": "550737131e271ff3a50d6d390ce9ec759c4692218f3cc0f0cb050b88151767c7" }, "downloads": -1, "filename": "scabbard-0.2.1-py3-none-any.whl", "has_sig": false, "md5_digest": "2a698793507d5d7bb5b5151d56c429fe", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 15968, "upload_time": "2018-11-03T18:37:35", "url": "https://files.pythonhosted.org/packages/b5/bf/7927b1ba8ba1112225df5b8b0ff709d270473fc47ff7a45573bc0fd2725d/scabbard-0.2.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "fc54367db3fb949d9c50f658bfe286c1", "sha256": "62d8043bd8adb7c3020d0e3ce7bdc172f94f57002101f82ec3be570fcaae0016" }, "downloads": -1, "filename": "scabbard-0.2.1.tar.gz", "has_sig": false, "md5_digest": "fc54367db3fb949d9c50f658bfe286c1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 17042, "upload_time": "2018-11-03T18:37:36", "url": "https://files.pythonhosted.org/packages/ce/0b/7b6dc0e03d46b400685ba1d39f92da35c28c05ca9003b65d75456a456ed8/scabbard-0.2.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "2a698793507d5d7bb5b5151d56c429fe", "sha256": "550737131e271ff3a50d6d390ce9ec759c4692218f3cc0f0cb050b88151767c7" }, "downloads": -1, "filename": "scabbard-0.2.1-py3-none-any.whl", "has_sig": false, "md5_digest": "2a698793507d5d7bb5b5151d56c429fe", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 15968, "upload_time": "2018-11-03T18:37:35", "url": "https://files.pythonhosted.org/packages/b5/bf/7927b1ba8ba1112225df5b8b0ff709d270473fc47ff7a45573bc0fd2725d/scabbard-0.2.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "fc54367db3fb949d9c50f658bfe286c1", "sha256": "62d8043bd8adb7c3020d0e3ce7bdc172f94f57002101f82ec3be570fcaae0016" }, "downloads": -1, "filename": "scabbard-0.2.1.tar.gz", "has_sig": false, "md5_digest": "fc54367db3fb949d9c50f658bfe286c1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 17042, "upload_time": "2018-11-03T18:37:36", "url": "https://files.pythonhosted.org/packages/ce/0b/7b6dc0e03d46b400685ba1d39f92da35c28c05ca9003b65d75456a456ed8/scabbard-0.2.1.tar.gz" } ] }