# PhoneWatchUI: Apple App Store ## Layout ```text apple_store/ ├── dataset/ │ ├── apps.jsonl │ ├── images.jsonl │ └── images//{watch,phone}/.png └── script/ ├── app_collect.py ├── watch_app_filter.py └── image_download.py ``` ## Fields `apps.jsonl` contains `app_id`, `store`, `title`, `description`, `source_url`, and store-specific `metadata`. `images.jsonl` contains gallery-position identity, dimensions, source URL, SHA-256, relative `image_path`, and device labels. Paths are relative to the directory containing `images.jsonl`; unavailable files have null paths. `device` is `watch` or `phone`, determined by the source gallery. `device_label_source.method` is `explicit_app_store_gallery`. See [all field definitions](../../README.md#fields). ## Usage Use Python 3.10+; these scripts require only the standard library. Run from `apple_store/`. Create `app_ids.txt` with one numeric Apple App ID per line, and choose a fresh output directory: ```sh python3 script/app_collect.py --app-ids app_ids.txt --output fresh/candidates.jsonl python3 script/watch_app_filter.py --input fresh/candidates.jsonl --output fresh/apps.jsonl python3 script/image_download.py --apps fresh/apps.jsonl --output fresh ``` The commands collect app metadata, select watch apps, and download images in order. The final output contains `apps.jsonl`, `images.jsonl`, and `images/`. Use `--help` on each script for options.