ApiRunner is a Python application that fetches user data from an API, processes it, and uploads it to Google Cloud Storage in Parquet format.
- Python 3.7 or higher
-
Clone the repository:
git clone https://github.com/stefanbd/stefan-freetrade-task.git cd stefan-freetrade-task
-
Create a virtual environment:
python3 -m venv venv source venv/bin/activate
-
Install the required packages:
pip install -r requirements.txt
-
Optional settings:
Edit the
app/settings/settings.py
file to increase or decrease theBATCH_SIZE
.
-
Run the application:
python src/entrypoint.py