Jl-wei's picture
Update image download and verification instructions and research-use notice
0d25dbe verified
|
Raw History Blame Contribute Delete
1.5 kB

PhoneWatchUI: Apple App Store

Layout

apple_store/
├── dataset/
│   ├── apps.jsonl
│   ├── images.jsonl
│   └── images/<app_id>/{watch,phone}/<position>.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.

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:

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.