Get information for the Campaign 'Scheine für Vereine' of Rewe
Find a file
2023-05-15 14:35:10 +02:00
.gitignore Add requirements.txt 2023-05-15 09:27:43 +02:00
csv_exporter.py Add more address information in export 2023-05-15 10:32:52 +02:00
LICENSE Add MIT License 2023-05-15 14:35:10 +02:00
main.py Parallelize verein fetching 2023-05-15 10:02:05 +02:00
README.md Add README.md 2023-05-15 14:16:39 +02:00
requirements.txt Add requirements.txt 2023-05-15 09:27:43 +02:00
verein.py Add more address information in export 2023-05-15 10:32:52 +02:00
verein_fetcher.py Add more address information in export 2023-05-15 10:32:52 +02:00

Rewe Vereinsscheine Fetcher

Get information for the Campaign 'Scheine für Vereine' of Rewe. Finds 'Vereine' in the given location and exports their address and 'Scheine' information.

Usage

./main.py <latitude> <longitude> [--export-file <file>]

This generates a csv-file with the following structure: account_name,address,post_code,city,total_balance,available_balance,redeemed

Background information

More information about the campaign can be found on the corresponding page.

The API endpoints used are: https://scheinefuervereine.rewe.de/consumer-api/customer.php?action=get_club&id=<id> and https://scheinefuervereine.rewe.de/consumer-api/customer.php?action=get_clubs_near_location&count=<count>&lat=<latitude>&long=<longitude>