Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/danielwte/ebay-kleinanzeigen-api

This tool acts as an API interface, you can use it to get random listings from Ebay-Kleinanzeigen.de, exact data from specific listings and even views of listings.
https://github.com/danielwte/ebay-kleinanzeigen-api

api docker ebay-api ebay-kleinanzeigen nginx python scraper scraper-api

Last synced: 8 days ago
JSON representation

This tool acts as an API interface, you can use it to get random listings from Ebay-Kleinanzeigen.de, exact data from specific listings and even views of listings.

Awesome Lists containing this project

README

        

[![Forks][forks-shield]][forks-url]
[![Stargazers][stars-shield]][stars-url]
[![Issues][issues-shield]][issues-url]
[![MIT License][license-shield]][license-url]



Ebay Kleinanzeigen API


This tool acts as an API interface, you can use it to get random listings from Ebay-Kleinanzeigen.de, exact data from specific listings and even views of listings.


Explore the docs »


Search agents and hosted scraper API »




·
Report Bug
·
Request Feature


### Built With

* [![Python][Python]][Python-url]
* [![Docker][Docker]][Docker-url]

(back to top)

## Getting Started

First of all, you need to clone the project.
Go to your folder where you want to clone the project and run the following command:

```sh
git clone https://github.com/DanielWTE/ebay-kleinanzeigen-api.git
```

### Prerequisites

Now, install Docker and Docker Compose on your machine. You can find the installation instructions for your operating system here:
[Get Docker](https://docs.docker.com/get-docker/)

(This project (for now) is not tested on Windows, only on Linux Ubuntu 22.04)

### Installation

1. Check if the folder is named "ebay-kleinanzeigen-api", if not you need to change the nginx.conf file in the nginx folder.
2. Add HTTP proxies to this file: ebay-kleinanzeigen-api/app/functions/getProxy.py (you will find a comment there)
3. You're ready to go, just run the following command in the root folder of the project:

```sh
docker-compose up --build -d --scale app=3
```

With this command, you start 3 replicas of the API. You can change the number of replicas to your liking. (max 20 due to NGINX config)

(back to top)

## Usage

Simple: Just send a GET request to the API.

You can use the API in your own projects or just use it to get random listings from Ebay-Kleinanzeigen.de. You can find the documentation or examples here: [Documentation](https://dwag.me/project/scraper)

(back to top)

## License

Distributed under the MIT License. See `LICENSE` for more information.

(back to top)

[contributors-shield]: https://img.shields.io/github/contributors/DanielWTE/ebay-kleinanzeigen-api.svg?style=for-the-badge
[contributors-url]: https://github.com/DanielWTE/ebay-kleinanzeigen-api/graphs/contributors
[forks-shield]: https://img.shields.io/github/forks/DanielWTE/ebay-kleinanzeigen-api.svg?style=for-the-badge
[forks-url]: https://github.com/DanielWTE/ebay-kleinanzeigen-api/network/members
[stars-shield]: https://img.shields.io/github/stars/DanielWTE/ebay-kleinanzeigen-api.svg?style=for-the-badge
[stars-url]: https://github.com/DanielWTE/ebay-kleinanzeigen-api/stargazers
[issues-shield]: https://img.shields.io/github/issues/DanielWTE/ebay-kleinanzeigen-api.svg?style=for-the-badge
[issues-url]: https://github.com/DanielWTE/ebay-kleinanzeigen-api/issues
[license-shield]: https://img.shields.io/github/license/DanielWTE/ebay-kleinanzeigen-api.svg?style=for-the-badge
[license-url]: https://github.com/DanielWTE/ebay-kleinanzeigen-api/blob/main/LICENSE
[Python]: https://img.shields.io/badge/python-000000?style=for-the-badge&logo=python&logoColor=white
[Python-url]: https://www.python.org/
[Docker]: https://img.shields.io/badge/docker-000000?style=for-the-badge&logo=docker&logoColor=white
[Docker-url]: https://www.docker.com/