GOG Weekly Sales Analytics#
Automated workflow that:
- Scrapes weekly discounted game data from the GOG store
- Analyzes the full set of discounted games with Google Gemini to surface best-value deals
- Generates a markdown report with insights and recommendations
- Syncs the report to a shared Feishu Drive folder for team access
- Publishes the workflow as a reusable skill on ClawHub
Usage#
bash
cp .env.example .env
# Fill in API keys in .env
pip install -r requirements.txt
python main.py
Environment#
VariablePurposeGEMINI_API_KEYGemini analysisFEISHU_APP_ID / FEISHU_APP_SECRETFeishu Drive auth (tenant_access_token)FEISHU_DRIVE_FOLDER_IDTarget Drive folder for the reportCLAWHUB_API_TOKENClawHub publishing
Notes#
- Feishu upload uses the
upload_all multipart/form-data API (metadata in the form body, binary via files).
- Gemini analysis processes every discounted game in the dataset — there is no 20-item cap.
Skills Used#
- web-scraper: GOG store data extraction
- gemini: AI-powered sales analysis and report generation
- feishu-drive: Cloud storage sync and permission management
- gog: Game metadata and platform integration
- clawhub: Skill publishing and distribution