{"id":16216002,"url":"https://github.com/kc596/movieticketnotification","last_synced_at":"2025-04-07T22:42:39.370Z","repository":{"id":167831914,"uuid":"438257628","full_name":"kc596/movieticketnotification","owner":"kc596","description":"Get notification when booking of a movie ticket starts.","archived":false,"fork":false,"pushed_at":"2021-12-15T05:57:18.000Z","size":17,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-14T00:15:44.553Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kc596.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-12-14T13:11:01.000Z","updated_at":"2021-12-15T05:57:20.000Z","dependencies_parsed_at":null,"dependency_job_id":"ced96768-09f9-4f5d-90a5-08bf40c67958","html_url":"https://github.com/kc596/movieticketnotification","commit_stats":null,"previous_names":["kc596/movieticketnotification"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kc596%2Fmovieticketnotification","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kc596%2Fmovieticketnotification/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kc596%2Fmovieticketnotification/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kc596%2Fmovieticketnotification/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kc596","download_url":"https://codeload.github.com/kc596/movieticketnotification/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247744283,"owners_count":20988781,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-10T11:17:41.013Z","updated_at":"2025-04-07T22:42:39.351Z","avatar_url":"https://github.com/kc596.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# movieticketnotification\n\n## Pre-requisite\n\n1. Python 3.6 or above\n2. pip\n\n## Running the project\n\n1. Install the requirements.\n```shell\npip install requirements.txt\n```\n\n2. Add email and password to use for sending emails in `config/__init__.py`\n\n\n3. This step is needed for sending email through your google account via SMTP. \n\u003e Google =\u003e Manage your Google Account =\u003e Security =\u003e Less secure app access =\u003e Turn on.\n\n4. Run main.py\n```shell\npython3 main.py\n```\n\n\n## Monitoring a movie booking to open for a date\n\n1. Goto bookmyshow.com and select the movie you want to monitor for your city.\n\n\n2. Try to Book Tickets and select your desired screen with language.\nExample : English, 3D\n\n\n3. Copy the url. The url will look like `https://in.bookmyshow.com/buytickets/spider-man-no-way-home-patna/movie-patn-ET00319080-MT/20211216` \nwhere city is **Patna**, movie is **SpiderMan: No way Home** and date is **16 Dec 2021**.\n\n\n4. Make a **POST** request to **/movies/monitor/booking-started** path with payload:\n```json\n{\n    \"url\": \"\u003curl you copied\u003e\",\n    \"date\": \"\u003ctarget date you want to book tickets for\u003e\",\n    \"email\": \"\u003cyour email where you'll get notified\u003e\"\n}\n```\n\n#### Example\nEndpoint: `http://127.0.0.1:5000/movies/monitor/booking-started`\n\nPayload: \n```json\n{\n    \"url\": \"https://in.bookmyshow.com/buytickets/spider-man-no-way-home-patna/movie-patn-ET00319080-MT/20211216\",\n    \"date\": \"20211217\",\n    \"email\": \"chaudhary.kc.kunal@gmail.com\"\n}\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkc596%2Fmovieticketnotification","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkc596%2Fmovieticketnotification","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkc596%2Fmovieticketnotification/lists"}