Files
data-processing/README.md
Daniel Abbassi 01ae002d96 move api key file
2025-07-16 15:40:54 +02:00

24 lines
1.1 KiB
Markdown

# Data processing script(s)
### PrerequisiriesXX
In directory `_data` is a file with name `api_keys.py` that holds API keys:
```GOOGLE_API_KEY = 'api_key_here'
OPENAI_API_KEY = 'api_key_here'
... ```
## angebote_traegerMail_iteration (related to FM)
### Input
This script is related to FileMaker script "OptOut: Mailadressen sammeln - simple Tabelle" that collects data "Name | Angebotsmail | Trägermail". The FM script has the variable $$angeboteMailListe as result -> extract its value into `input.txt`.
### Processing
The Python3 script generates two JSON files from that. One holds the relation `{ trägermail1@test.de : [ "Angebot A", "Angebot B" ] }` and the other `{ angebotsmail@test.de : [ "Angebot A", "Angebot C" ] }`.
This input can be used to generate mails for the "opt-out method" (people can delete their offer from the MUT-ATLAS).
### Output
tbd
## openAI_validate_data
### Processing
These scripts aim to see what ChatGPT can do to validate your offers (Angebote).
## scrape_GoogleMaps
### Processing
Scenario: 'find offers (Angebote) with "Psychotherpeut" in a radius of 1000m around these coordinates..'