Skip to content

Latest commit

 

History

History
98 lines (67 loc) · 3.81 KB

README.MD

File metadata and controls

98 lines (67 loc) · 3.81 KB

Forks Stargazers Issues MIT License


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
  • Docker

(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:

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

(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:
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

(back to top)

License

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

(back to top)