{"id":23413502,"url":"https://github.com/leonardcser/auto24-api","last_synced_at":"2025-06-10T23:39:55.158Z","repository":{"id":54925903,"uuid":"522636795","full_name":"leonardcser/auto24-api","owner":"leonardcser","description":"Python API wrapper for AutoScout24.ch","archived":false,"fork":false,"pushed_at":"2023-10-10T13:03:58.000Z","size":47,"stargazers_count":3,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-12T05:30:14.097Z","etag":null,"topics":["python","selenium"],"latest_commit_sha":null,"homepage":"","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/leonardcser.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":"2022-08-08T17:01:24.000Z","updated_at":"2024-10-22T19:23:13.000Z","dependencies_parsed_at":"2023-10-10T14:57:21.084Z","dependency_job_id":"7299c7c4-dc05-4bcd-8349-28620dce234a","html_url":"https://github.com/leonardcser/auto24-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/leonardcser%2Fauto24-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leonardcser%2Fauto24-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leonardcser%2Fauto24-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leonardcser%2Fauto24-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/leonardcser","download_url":"https://codeload.github.com/leonardcser/auto24-api/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leonardcser%2Fauto24-api/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259172133,"owners_count":22816514,"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":["python","selenium"],"created_at":"2024-12-22T19:36:34.986Z","updated_at":"2025-06-10T23:39:55.124Z","avatar_url":"https://github.com/leonardcser.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# AutoScout24 Public API\n\n-   [AutoScout24 Public API](#autoscout24-public-api)\n    -   [About](#about)\n        -   [Disclaimer](#disclaimer)\n    -   [Installation](#installation)\n    -   [Getting Started](#getting-started)\n        -   [Search Listings](#search-listings)\n        -   [Listing Details](#listing-details)\n        -   [Examples](#examples)\n\n## About\n\nA Public API wrapper written in Python for [www.AutoScout24.ch](https://www.autoscout24.ch/fr) (Swiss car listing website).\n\nThis project is still very new, and a lot is missing. (docs, tests, api integrations)\n\n### Disclaimer\n\nThis project is a learning experiment and you are fully responsible for its use.\n\n## Installation\n\n```python\npip install git+https://github.com/leonardcser/auto24-api\n```\n\n## Getting Started\n\n```python\nfrom auto24_api import Auto24API\n```\n\nThe `Auto24API()` class initializes a chrome driver instance. The context manager allows to automatically quit the driver. However, if the `Auto24API()` class needs to be called many times, it is recommended to manually create and dispose the driver with `Auto24API().close()`.\n\n### Search Listings\n\n```python\nfrom auto24_api.search import Filters, SearchQuery\n\nwith Auto24API() as api:\n    res = api.search_listings(\n        SearchQuery(\n            make=[Filters.MAKE.AUDI, Filters.MAKE.BMW, Filters.MAKE.VW],\n            year_from=2014,\n            year_to=None,\n            km_from=None,\n            km_to=60_000,\n            price_from=7_500,\n            price_to=20_000,\n            hp_from=180,\n            sorting=Filters.SORTING.HP_DESC,\n            page_size=60,\n        )\n    )\n\n```\n\n### Listing Details\n\n```python\nfrom auto24_api.details import DetailsQuery\n\nwith Auto24API() as api:\n    res = api.listing_details(DetailsQuery(_id=123456, slug=\"some-car-slug\"))\n\n```\n\n### Examples\n\nCheck out implementation examples [here](./examples/).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fleonardcser%2Fauto24-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fleonardcser%2Fauto24-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fleonardcser%2Fauto24-api/lists"}