{ "info": { "author": "NMelis", "author_email": "", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Topic :: Software Development :: Libraries" ], "description": "## install\nSimply run:\n```\npip install rambler-kassa\n```\n\nor download the project via git clone and run the following:\n```\npip install -r requirements.txt\n```\n\n## usages\nCreate instance\n```python\nfrom rambler_kassa.rambler_kassa import *\n\ncity_id = 1 # Identifier of the city where the films will be searching in the cinema\n\nkassa = RamblerKassa('', city_id)\n\n```\n\n### Get movies\n```python\nfor item in kassa.get_movies(98847):\n print(item)\n# -> Movie OriginalName='Take That: Greatest Hits Live' Genre=['\u041c\u0443\u0437\u044b\u043a\u0430\u043b\u044c\u043d\u044b\u0439'] Country=['\u0412\u0435\u043b\u0438\u043a\u043e\u0431\u0440\u0438\u0442\u0430\u043d\u0438\u044f'] ViewCountDaily=0 AgeRestriction='16' Thumbnail='https://kassa.rambler.ru/s/StaticContent/P/Aimg/1905/23/190523100556922.jpg?1\u2026' Cast=[] Description='29 \u0438\u044e\u043d\u044f \u041d\u0435\u0432\u0430\u0444\u0438\u043b\u044c\u043c Emotion \u0432\u044b\u043f\u0443\u0441\u0442\u0438\u0442 \u0432 \u043a\u0438\u043d\u043e\u0442\u0435\u0430\u0442\u0440\u0430\u0445 \u0441\u0442\u0440\u0430\u043d\u044b \u043a\u043e\u043d\u0446\u0435\u0440\u0442 \u00abTake That: G\u2026' Director='' CreatorName=None CreatorObjectID=None Year='2019' Duration='150 \u043c\u0438\u043d.' HorizonalThumbnail='https://kassa.rambler.ru/s/StaticContent/P/Aimg/1905/23/190523100557089.jpg' IsNonStop=False SubCreationIDs=[] Rating='7.00' Trailers=None Frames=None ReleaseDate=datetime.date(2019, 6, 29) KinoplanID=13477 ObjectID=98725 ClassType='Movie' Name='Take That: Greatest Hits Live' AfishaClassID=16 AfishaObjectID=257101\n# -> Movie OriginalName='' Genre=['\u0414\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u043b\u044c\u043d\u044b\u0439', ' \u041c\u0443\u0437\u044b\u043a\u0430\u043b\u044c\u043d\u044b\u0439'] Country=['\u0412\u0435\u043b\u0438\u043a\u043e\u0431\u0440\u0438\u0442\u0430\u043d\u0438\u044f'] ViewCountDaily=1 AgeRestriction='16' Thumbnail='https://kassa.rambler.ru/s/StaticContent/P/Aimg/1906/14/190614141030583.jpg?1\u2026' Cast=[] Description='\u00abThe Cure \u2013 Anniversary 1978-2018 Live in Hyde Park London\u00bb, \u0441\u043d\u044f\u0442\u044b\u0439 \u0440\u0435\u0436\u0438\u0441\u0441\u0435\u0440\u043e\u2026' Director='\u0422\u0438\u043c \u041f\u043e\u0443\u043f' CreatorName=None CreatorObjectID=None Year='2019' Duration='137 \u043c\u0438\u043d.' HorizonalThumbnail='https://kassa.rambler.ru/s/StaticContent/P/Aimg/1906/18/190618155201329.jpg' IsNonStop=False SubCreationIDs=[] Rating='7.00' Trailers=None Frames=None ReleaseDate=datetime.date(2019, 7, 11) KinoplanID=13605 ObjectID=98847 ClassType='Movie' Name='The Cure \u2013 Anniversary 1978-2018 Live in Hyde Park London' AfishaClassID=16 AfishaObjectID=25721\n# -> ...\n\n```\n\n### Get movie by id\n```python\nmovie = kassa.get_movie(98847)\nprint(movie)\n# -> Movie OriginalName='' Genre=['\u0414\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u043b\u044c\u043d\u044b\u0439', ' \u041c\u0443\u0437\u044b\u043a\u0430\u043b\u044c\u043d\u044b\u0439'] Country=['\u0412\u0435\u043b\u0438\u043a\u043e\u0431\u0440\u0438\u0442\u0430\u043d\u0438\u044f'] ViewCountDaily=1 AgeRestriction='16' Thumbnail='https://kassa.rambler.ru/s/StaticContent/P/Aimg/1906/14/190614141030583.jpg?1\u2026' Cast=[] Description='\u00abThe Cure \u2013 Anniversary 1978-2018 Live in Hyde Park London\u00bb, \u0441\u043d\u044f\u0442\u044b\u0439 \u0440\u0435\u0436\u0438\u0441\u0441\u0435\u0440\u043e\u2026' Director='\u0422\u0438\u043c \u041f\u043e\u0443\u043f' CreatorName=None CreatorObjectID=None Year='2019' Duration='137 \u043c\u0438\u043d.' HorizonalThumbnail='https://kassa.rambler.ru/s/StaticContent/P/Aimg/1906/18/190618155201329.jpg' IsNonStop=False SubCreationIDs=[] Rating='7.00' Trailers=None Frames=None ReleaseDate=datetime.date(2019, 7, 11) KinoplanID=13605 ObjectID=98847 ClassType='Movie' Name='The Cure \u2013 Anniversary 1978-2018 Live in Hyde Park London' AfishaClassID=16 AfishaObjectID=257212\n\n```\n\n### Get schedules of movies\n```python\nschedule = kassa.get_movies_schedules()\nprint(schedule[0])\n# -> Schedule SessionID=46215468 CityID=2565 CreationClassType='Movie' CreationObjectID=97646 PlaceClassType='Place' PlaceObjectID=14232 DateTime=datetime.datetime(2019, 6, 20, 0, 0) Format='3D' IsSaleAvailable=True IsReservationAvailable=False IsWithoutSeats=False MinPrice='190' MaxPrice='190' HallID='9:13' HallName='\u0417\u0430\u043b \u2116 1' FeeType='Percent' FeeValue='0,0'\n\n```\n\n### Get schedule movie by id\n```python\nschedule = kassa.get_movie_schedules(98847)\nprint(schedule[0])\n# -> Schedule SessionID=46425075 CityID=2565 CreationClassType='Movie' CreationObjectID=98847 PlaceClassType='Place' PlaceObjectID=5385 DateTime=datetime.datetime(2019, 7, 11, 19, 30) Format='' IsSaleAvailable=True IsReservationAvailable=False IsWithoutSeats=False MinPrice='500' MaxPrice='500' HallID='302:292' HallName='03' FeeType='Percent' FeeValue='0,0'\n\n```", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/NMelis/rambler-kassa", "keywords": "", "license": "MIT", "maintainer": "NMelis", "maintainer_email": "", "name": "rambler-kassa", "package_url": "https://pypi.org/project/rambler-kassa/", "platform": "", "project_url": "https://pypi.org/project/rambler-kassa/", "project_urls": { "Homepage": "https://github.com/NMelis/rambler-kassa" }, "release_url": "https://pypi.org/project/rambler-kassa/0.0.5/", "requires_dist": null, "requires_python": "", "summary": "API Rambler Kassa", "version": "0.0.5" }, "last_serial": 5620139, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "49cb03a601a740c024897c4f421676da", "sha256": "19c6369997c08752adfa0f0af03a7d2cd89ce9b93cb292f9fd25994bb452cb02" }, "downloads": -1, "filename": "rambler-kassa-0.0.1.tar.gz", "has_sig": false, "md5_digest": "49cb03a601a740c024897c4f421676da", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4111, "upload_time": "2019-06-18T23:06:10", "url": "https://files.pythonhosted.org/packages/41/df/b2c73921145c1b1b0c29b14fcfcfb84f767af055e8e693e2454087d99079/rambler-kassa-0.0.1.tar.gz" } ], "0.0.2": [ { "comment_text": "", "digests": { "md5": "ecac16b9946b1949a91b77f674e6d831", "sha256": "af2b0aa2f7e98ac78870c9ab6bc25992c49304b0b7e32c2dbe4a0a4002619e21" }, "downloads": -1, "filename": "rambler-kassa-0.0.2.tar.gz", "has_sig": false, "md5_digest": "ecac16b9946b1949a91b77f674e6d831", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4298, "upload_time": "2019-06-19T21:15:54", "url": "https://files.pythonhosted.org/packages/dc/1a/c32b81023940e3dcb41413d8dd5a5c907739a6ba4e86aafa2ce32a614499/rambler-kassa-0.0.2.tar.gz" } ], "0.0.3": [ { "comment_text": "", "digests": { "md5": "36efe303d6525d8cd9eb3aae6f66eb02", "sha256": "bc3020b6d6b3abf3e797cfba2242ec35828ad1a329ede849b20d8f0a12734993" }, "downloads": -1, "filename": "rambler-kassa-0.0.3.tar.gz", "has_sig": false, "md5_digest": "36efe303d6525d8cd9eb3aae6f66eb02", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4375, "upload_time": "2019-06-20T21:44:04", "url": "https://files.pythonhosted.org/packages/81/9e/420044d6f698c6747e37d98c903d4c5c52e3c3e82bcd14ed1407e8a00c8d/rambler-kassa-0.0.3.tar.gz" } ], "0.0.4": [ { "comment_text": "", "digests": { "md5": "3be5f915aa12625a7fc7740344f454db", "sha256": "010c9ff1ff04baa6df1a3b8d1af0868ccd25bf5353fbb1b561a0943616db551f" }, "downloads": -1, "filename": "rambler-kassa-0.0.4.tar.gz", "has_sig": false, "md5_digest": "3be5f915aa12625a7fc7740344f454db", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4416, "upload_time": "2019-07-02T20:04:21", "url": "https://files.pythonhosted.org/packages/05/79/46e85d4a1ebe9f4860f0be2248c3527bfc7c88b1bcd4108eb55cc3f26582/rambler-kassa-0.0.4.tar.gz" } ], "0.0.5": [ { "comment_text": "", "digests": { "md5": "2f1ef5c2950b7d7469796dce2873a994", "sha256": "ab4719ddd5ed407a88ef8ea7f0b2d5243b6dc37dfbe405446a9eed425c774664" }, "downloads": -1, "filename": "rambler-kassa-0.0.5.tar.gz", "has_sig": false, "md5_digest": "2f1ef5c2950b7d7469796dce2873a994", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4413, "upload_time": "2019-08-01T18:42:09", "url": "https://files.pythonhosted.org/packages/cb/98/41bf146574a8e55f71192942bf2cc05a4703e22696b8dc34f35d52358799/rambler-kassa-0.0.5.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "2f1ef5c2950b7d7469796dce2873a994", "sha256": "ab4719ddd5ed407a88ef8ea7f0b2d5243b6dc37dfbe405446a9eed425c774664" }, "downloads": -1, "filename": "rambler-kassa-0.0.5.tar.gz", "has_sig": false, "md5_digest": "2f1ef5c2950b7d7469796dce2873a994", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4413, "upload_time": "2019-08-01T18:42:09", "url": "https://files.pythonhosted.org/packages/cb/98/41bf146574a8e55f71192942bf2cc05a4703e22696b8dc34f35d52358799/rambler-kassa-0.0.5.tar.gz" } ] }