{ "info": { "author": "Adam Czuprak", "author_email": "adam.czuprak@hotmail.com", "bugtrack_url": null, "classifiers": [], "description": ".. image:: https://img.shields.io/pypi/v/wowair.svg\r\n :target: https://pypi.python.org/pypi/wowair\r\n.. image:: https://img.shields.io/pypi/l/wowair.svg\r\n :target: https://pypi.python.org/pypi/wowair\r\n.. image:: https://img.shields.io/github/issues/acupy/wowair_api.svg\r\n :target: https://github.com/acupy/wowair_api\r\n.. image:: https://img.shields.io/github/issues-closed/acupy/wowair_api.svg\r\n :target: https://github.com/acupy/wowair_api\r\n\r\nInstall\r\n=======\r\n\r\nRun the following command to install wowair using pip\r\n\r\n.. code-block:: bash\r\n\r\n $ pip install wowair\r\n\r\nUsage:\r\n======\r\n\r\n.. code-block:: python\r\n\r\n from wowair import WowAirQuery, Currency\r\n from datetime import timedelta, date\r\n\r\n # Fetch available cities\r\n cities = WowAirQuery.get_cities()\r\n for c in sorted(cities, key=lambda city: cities[city]):\r\n print cities[c], c\r\n\r\n # Fetch tickets for the next week from Montreal to Dublin\r\n query = WowAirQuery(origin='YUL', destination='DUB')\r\n for ticket in query.get_tickets():\r\n print ticket\r\n\r\n # Fetch Available tickets from New York to Anywhere in the NEXT 30 DAYS\r\n depart_date_from = date.today()\r\n depart_date_to = depart_date_from + timedelta(days=30)\r\n query = WowAirQuery(origin='EWR',\r\n depart_date=(depart_date_from, depart_date_to),\r\n currency=Currency.USD)\r\n for ticket in query.get_tickets():\r\n if ticket.status == 'Available':\r\n print ticket", "description_content_type": null, "docs_url": null, "download_url": "https://github.com/acupy/wowair_api/archive/0.5.tar.gz", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/acupy/wowair_api", "keywords": "wowair,api", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "wowair", "package_url": "https://pypi.org/project/wowair/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/wowair/", "project_urls": { "Download": "https://github.com/acupy/wowair_api/archive/0.5.tar.gz", "Homepage": "https://github.com/acupy/wowair_api" }, "release_url": "https://pypi.org/project/wowair/0.5/", "requires_dist": null, "requires_python": null, "summary": "WowAir Python API", "version": "0.5" }, "last_serial": 2925129, "releases": { "0.4": [ { "comment_text": "", "digests": { "md5": "9152d6594871e8702fedfaf24cccd766", "sha256": "ff725dd1eab35826f7d6ecfe067969fe344974debaad65e35eed04414f8e2250" }, "downloads": -1, "filename": "wowair-0.4.tar.gz", "has_sig": false, "md5_digest": "9152d6594871e8702fedfaf24cccd766", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2917, "upload_time": "2017-06-04T05:10:32", "url": "https://files.pythonhosted.org/packages/b6/10/61f66efae896e6ed6fc07b31061ae913965829e3b79e7c1d770eedfc3b47/wowair-0.4.tar.gz" } ], "0.5": [ { "comment_text": "", "digests": { "md5": "4a8410bf4a9bd3c184cd022c55357c8c", "sha256": "0984cacd1b7753ebba434c751531c11d832aae697d956ba7e76b7c93b8fe181e" }, "downloads": -1, "filename": "wowair-0.5.tar.gz", "has_sig": false, "md5_digest": "4a8410bf4a9bd3c184cd022c55357c8c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3548, "upload_time": "2017-06-04T15:44:58", "url": "https://files.pythonhosted.org/packages/28/61/abaea5498bf34a4cef57f328d5d8fa4bbb45afd85d686050dc88588057c9/wowair-0.5.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "4a8410bf4a9bd3c184cd022c55357c8c", "sha256": "0984cacd1b7753ebba434c751531c11d832aae697d956ba7e76b7c93b8fe181e" }, "downloads": -1, "filename": "wowair-0.5.tar.gz", "has_sig": false, "md5_digest": "4a8410bf4a9bd3c184cd022c55357c8c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3548, "upload_time": "2017-06-04T15:44:58", "url": "https://files.pythonhosted.org/packages/28/61/abaea5498bf34a4cef57f328d5d8fa4bbb45afd85d686050dc88588057c9/wowair-0.5.tar.gz" } ] }