{"id":15657799,"url":"https://github.com/pythonicninja/lastminuter-python-api","last_synced_at":"2025-03-30T02:21:51.794Z","repository":{"id":164303866,"uuid":"639739910","full_name":"PythonicNinja/lastminuter-python-api","owner":"PythonicNinja","description":null,"archived":false,"fork":false,"pushed_at":"2023-06-06T05:34:14.000Z","size":10,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-05T04:46:13.563Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/PythonicNinja.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2023-05-12T05:55:33.000Z","updated_at":"2023-05-12T05:58:01.000Z","dependencies_parsed_at":null,"dependency_job_id":"b2f880b0-0d5f-4ac9-87a0-8fb3b293e507","html_url":"https://github.com/PythonicNinja/lastminuter-python-api","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PythonicNinja%2Flastminuter-python-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PythonicNinja%2Flastminuter-python-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PythonicNinja%2Flastminuter-python-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PythonicNinja%2Flastminuter-python-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PythonicNinja","download_url":"https://codeload.github.com/PythonicNinja/lastminuter-python-api/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246266576,"owners_count":20749817,"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-03T13:09:47.232Z","updated_at":"2025-03-30T02:21:51.771Z","avatar_url":"https://github.com/PythonicNinja.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# lastminuter-python-api\n\n## Installation\n\n```bash\ngit clone git@github.com:PythonicNinja/lastminuter-python-api.git\ncd lastminuter-python-api\npip install -e .\n```\n\n## Usage\n\n```python\n| =\u003e lastminuter --help\nusage: lastminuter [-h] [--select-period SELECT_PERIOD] [--exclude-country EXCLUDE_COUNTRY] [--months MONTHS] [--board BOARD] [--stars STARS] [--duration DURATION]\n                   [--source-city SOURCE_CITY] [--max-price MAX_PRICE] [--pages PAGES]\n\nCrawl offers for given conditions\n\noptional arguments:\n  -h, --help            show this help message and exit\n  --select-period SELECT_PERIOD\n                        prompt with X last periods to select, default: 6\n  --exclude-country EXCLUDE_COUNTRY\n                        exclude specific countries like: Bułgaria,Turcja\n  --months MONTHS       which months to select like: 2023-05,2023-06,2023-07\n  --board BOARD         what type of accommodation types to crawl: All Inclusive,Trzy posiłki,Dwa posiłki,Śniadania,Własne\n  --stars STARS         what type of stars to crawl: 5,4,3,2,1\n  --duration DURATION   how many days to crawl: 1-8\n  --source-city SOURCE_CITY\n                        from which city to crawl: Gdańsk,Warszawa,Kraków,\n  --max-price MAX_PRICE\n                        max price to crawl, default: 3000\n  --pages PAGES         how many pages to crawl, default: 1\n```\n\n```bash\n| =\u003e lastminuter --months 2023-05  --exclude Bułgaria --max-price 3000 --pages 2 --stars 5,4,3 --source-city Gdańsk\n\n--------------------\n 2023-05-01 - 2023-05-31\n--------------------\n\n1408 | Turcja     |  Riwiera Turecka  | 17.05 (Wed) - 24.05 (Wed) | 7 | All Inclusive | 4   | https://lastminuter.pl/wycieczka/turcja,riwiera-turecka,gdansk,all-inclusive,1560626424/\n1409 | Turcja     |  Riwiera Turecka  | 17.05 (Wed) - 24.05 (Wed) | 7 | All Inclusive | 4   | https://lastminuter.pl/wycieczka/turcja,riwiera-turecka,gdansk,all-inclusive,1560626426/\n1432 | Turcja     |  Riwiera Turecka  | 17.05 (Wed) - 24.05 (Wed) | 7 | All Inclusive | 3   | https://lastminuter.pl/wycieczka/turcja,riwiera-turecka,gdansk,all-inclusive,1560626438/\n1460 | Turcja     |  Riwiera Turecka  | 17.05 (Wed) - 24.05 (Wed) | 7 | All Inclusive | 5   | https://lastminuter.pl/wycieczka/turcja,riwiera-turecka,gdansk,all-inclusive,1560626443/\n1548 | Turcja     | Wybrzeże Egejskie | 18.05 (Thu) - 26.05 (Fri) | 8 | All Inclusive | 3   | https://lastminuter.pl/wycieczka/turcja,wybrzeze-egejskie,gdansk,all-inclusive,1558748955/\n1549 | Turcja     |      Bodrum       | 18.05 (Thu) - 25.05 (Thu) | 7 | All Inclusive | 3   | https://lastminuter.pl/wycieczka/turcja,bodrum,gdansk,all-inclusive,1560191317/\n1557 | Turcja     |  Riwiera Turecka  | 17.05 (Wed) - 24.05 (Wed) | 7 | All Inclusive | 4   | https://lastminuter.pl/wycieczka/turcja,riwiera-turecka,gdansk,all-inclusive,1560626431/\n1575 | Turcja     |  Riwiera Turecka  | 17.05 (Wed) - 24.05 (Wed) | 7 | All Inclusive | 5   | https://lastminuter.pl/wycieczka/turcja,riwiera-turecka,gdansk,all-inclusive,1560626445/\n1605 | Turcja     |      Alanya       | 16.05 (Tue) - 23.05 (Tue) | 7 | All Inclusive | 4   | https://lastminuter.pl/wycieczka/turcja,alanya,gdansk,all-inclusive,1560566918/\n1610 | Cypr       |     Ayia Napa     | 22.05 (Mon) - 29.05 (Mon) | 7 |               | 3   | https://lastminuter.pl/wycieczka/cypr,ayia-napa,gdansk,wlasne,1560633404/\n1613 | Turcja     |  Riwiera Turecka  | 17.05 (Wed) - 24.05 (Wed) | 7 | All Inclusive | 5   | https://lastminuter.pl/wycieczka/turcja,riwiera-turecka,gdansk,all-inclusive,1560626406/\n1636 | Turcja     |      Alanya       | 16.05 (Tue) - 23.05 (Tue) | 7 | All Inclusive | 4   | https://lastminuter.pl/wycieczka/turcja,alanya,gdansk,all-inclusive,1560483251/\n1636 | Turcja     |      Alanya       | 16.05 (Tue) - 23.05 (Tue) | 7 | All Inclusive | 4   | https://lastminuter.pl/wycieczka/turcja,alanya,gdansk,all-inclusive,1560291952/\n1655 | Turcja     |  Riwiera Turecka  | 24.05 (Wed) - 31.05 (Wed) | 7 | Dwa posiłki   | 3   | https://lastminuter.pl/wycieczka/turcja,riwiera-turecka,gdansk,dwa-posilki,1560611632/\n1661 | Cypr       |     Ayia Napa     | 22.05 (Mon) - 29.05 (Mon) | 7 |               | 3   | https://lastminuter.pl/wycieczka/cypr,ayia-napa,gdansk,wlasne,1560632599/\n1666 | Turcja     |  Riwiera Turecka  | 17.05 (Wed) - 24.05 (Wed) | 7 | All Inclusive | 4   | https://lastminuter.pl/wycieczka/turcja,riwiera-turecka,gdansk,all-inclusive,1560626321/\n1669 | Turcja     |  Riwiera Turecka  | 17.05 (Wed) - 24.05 (Wed) | 7 | Śniadania     | 4   | https://lastminuter.pl/wycieczka/turcja,riwiera-turecka,gdansk,sniadania,1560626420/\n1679 | Cypr       |   Cypr Północny   | 22.05 (Mon) - 29.05 (Mon) | 7 | Śniadania     | 3   | https://lastminuter.pl/wycieczka/cypr,cypr-polnocny,gdansk,sniadania,1560551842/\n1713 | Turcja     |  Riwiera Turecka  | 17.05 (Wed) - 24.05 (Wed) | 7 | Dwa posiłki   | 3   | https://lastminuter.pl/wycieczka/turcja,riwiera-turecka,gdansk,dwa-posilki,1560626429/\n1714 | Turcja     |      Alanya       | 16.05 (Tue) - 23.05 (Tue) | 7 | All Inclusive | 5   | https://lastminuter.pl/wycieczka/turcja,alanya,gdansk,all-inclusive,1560610183/\n1718 | Turcja     |       Kemer       | 16.05 (Tue) - 23.05 (Tue) | 7 | All Inclusive | 3   | https://lastminuter.pl/wycieczka/turcja,kemer,gdansk,all-inclusive,1560632278/\n1730 | Turcja     |       Kemer       | 16.05 (Tue) - 23.05 (Tue) | 7 | All Inclusive | 5   | https://lastminuter.pl/wycieczka/turcja,kemer,gdansk,all-inclusive,1560567001/\n1746 | Turcja     |       Kemer       | 16.05 (Tue) - 23.05 (Tue) | 7 | All Inclusive | 4   | https://lastminuter.pl/wycieczka/turcja,kemer,gdansk,all-inclusive,1560632405/\n1758 | Turcja     |  Riwiera Turecka  | 17.05 (Wed) - 24.05 (Wed) | 7 | All Inclusive | 3   | https://lastminuter.pl/wycieczka/turcja,riwiera-turecka,gdansk,all-inclusive,1560626361/\n1768 | Turcja     |      Alanya       | 16.05 (Tue) - 23.05 (Tue) | 7 | All Inclusive | 4   | https://lastminuter.pl/wycieczka/turcja,alanya,gdansk,all-inclusive,1560567683/\n1773 | Turcja     |      Alanya       | 16.05 (Tue) - 23.05 (Tue) | 7 | All Inclusive | 4   | https://lastminuter.pl/wycieczka/turcja,alanya,gdansk,all-inclusive,1560566860/\n1778 | Turcja     |  Riwiera Turecka  | 17.05 (Wed) - 24.05 (Wed) | 7 | All Inclusive | 3   | https://lastminuter.pl/wycieczka/turcja,riwiera-turecka,gdansk,all-inclusive,1560626354/\n1781 | Turcja     | Wybrzeże Egejskie | 18.05 (Thu) - 26.05 (Fri) | 8 | All Inclusive | 3   | https://lastminuter.pl/wycieczka/turcja,wybrzeze-egejskie,gdansk,all-inclusive,1556878294/\n1782 | Turcja     |      Bodrum       | 18.05 (Thu) - 25.05 (Thu) | 7 | All Inclusive | 3   | https://lastminuter.pl/wycieczka/turcja,bodrum,gdansk,all-inclusive,1560214958/\n1785 | Turcja     |       Kemer       | 16.05 (Tue) - 23.05 (Tue) | 7 | All Inclusive | 4   | https://lastminuter.pl/wycieczka/turcja,kemer,gdansk,all-inclusive,1560633008/\n\n```\n\n## TODO\n\n- add tests\n- add badges\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpythonicninja%2Flastminuter-python-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpythonicninja%2Flastminuter-python-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpythonicninja%2Flastminuter-python-api/lists"}