First, you need to create your own Google Programmable Search Engine (CSE) API and the API key to access it.
Using a custom search engine can help narrowing the result to only the App Store.
To create the search engine, open this link
- Fill
apps.apple.comin the "Sites to search" section - Language can be any
- Name your search engine
Save the Search engine ID.
Next, create a new project in Google Cloud Platform
Go to Marketplace and enable Custom Search API for this project.
Go to API and service
Click on Create credential -> Create API key. This is the API key we want to use.
Finally, create .env and fill as follows
CSE_ID='<CSE ID>'
API_KEY='<API Key>'usage: downloader.py [-h] [--debug] [URL] [name]
Download app icons from App Store
positional arguments:
URL App Store URL (apps.apple.com...)
name Application name
optional arguments:
-h, --help show this help message and exit
--debug print only instead of download- Install requirements
- Create
.envand fill as follows
CSE_ID='<CSE ID>'
API_KEY='<API Key>'- run
search.py