معرفی شرکت ها


allocine-seances-0.0.5


Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر

توضیحات

Récupération des scéances de cinémas sur allociné
ویژگی مقدار
سیستم عامل -
نام فایل allocine-seances-0.0.5
نام allocine-seances
نسخه کتابخانه 0.0.5
نگهدارنده []
ایمیل نگهدارنده []
نویسنده -
ایمیل نویسنده lefevre-dev <louislefevre.dev@gmail.com>
آدرس صفحه اصلی -
آدرس اینترنتی https://pypi.org/project/allocine-seances/
مجوز MIT License Copyright (c) [year] [fullname] Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
# Description <ins>Objectif</ins> : récupération des horaires des séances de cinéma. Les méthodes ```get_top_villes()```, ```get_departements()``` et ```get_circuit()``` retournent un id d’emplacement. La méthode ```get_cinema(id_location)``` retourne un id de cinéma pour un emplacement donné. La méthode ```get_showtime(id_cinema, day_shift)``` retourne la liste des séances pour un cinema donné et un jour. le paramètre day_shift (entier positif) représente le décalage en jour par rapport à la date actuelle. # Import ```python from allocineAPI.allocineAPI import allocineAPI api = allocineAPI() ``` # Liste des méthodes ## Listes des villes ```python ret = api.get_top_villes() # {'id': 'ville-87860', 'name': 'Aix-en-Provence'} # {'id': 'ville-96943', 'name': 'Bordeaux'} # {'id': 'ville-85268', 'name': 'Cannes'} # {'id': 'ville-110514', 'name': 'Clermont-Ferrand'} # ... ``` ## Liste des départements ```python ret = api.get_departements() # {'id': 'departement-83191', 'name': 'Ain'} # {'id': 'departement-83178', 'name': 'Aisne'} # {'id': 'departement-83111', 'name': 'Allier'} # {'id': 'departement-83185', 'name': 'Alpes de Haute-Provence'} # ... ``` ## Liste des circuits ```python ret = api.get_circuit() # {'id': 'circuit-81002', 'name': 'Pathé Cinémas'} # {'id': 'circuit-81005', 'name': 'CGR'} # {'id': 'circuit-4750', 'name': 'UGC'} # {'id': 'circuit-81027', 'name': 'Megarama'} # ... ``` ## liste des cinemas ```python cinemas = api.get_cinema("departement-83191") # {'id': 'B0242', 'name': 'Gaumont Stade de France - 4DX', 'address': '8, rue du Mondial 98 93210 Saint-Denis'} # {'id': 'C0037', 'name': 'Pathé Alésia - Dolby Cinema', 'address': '73 avenue du Général Leclerc 75014 Paris 14e arrondissement'} # {'id': 'C0116', 'name': 'Gaumont Aquaboulevard - 4DX', 'address': '8-16, rue du Colonel-Pierre-Avia 75015 Paris 13e arrondissement'} # {'id': 'C0161', 'name': 'Pathé Convention', 'address': '27, rue Alain-Chartier 75015 Paris'} # ... ``` ## liste des seances ```python data = api.get_showtime("W2920") # {'title': 'Les Aventures de Ricky', 'duration': '1h 25min', 'VF': [], 'VO': ['2023-04-15T13:45:00', '2023-04-15T15:45:00']} # {'title': "Donjons & Dragons : L'Honneur des voleurs", 'duration': '2h 14min', 'VF': [], 'VO': ['2023-04-15T10:30:00', '2023-04-15T13:45:00', '2023-04-15T17:00:00', '2023-04-15T18:25:00', '2023-04-15T21:00:00']} # {'title': 'Une histoire d’amour', 'duration': '1h 30min', 'VF': [], 'VO': ['2023-04-15T14:40:00', '2023-04-15T16:45:00', '2023-04-15T19:50:00', '2023-04-15T21:55:00']} # {'title': 'Princes et princesses : le spectacle au cinéma', 'duration': '1h 00min', 'VF': [], 'VO': ['2023-04-15T10:50:00']} # ... ```


نیازمندی

مقدار نام
- beautifulsoup4


زبان مورد نیاز

مقدار نام
>=3.7 Python


نحوه نصب


نصب پکیج whl allocine-seances-0.0.5:

    pip install allocine-seances-0.0.5.whl


نصب پکیج tar.gz allocine-seances-0.0.5:

    pip install allocine-seances-0.0.5.tar.gz