Google Search Console API by DRKWNG
- Search Analytics API - get all (ALL!) keywords from Google Search Console.
- URL Inspection API - check URLs indexation status and other params for Google.
- Indexing API - send up to 200 URLs to Googlebot with URL_UPDATED or URL_DELETED param.
- Go to https://console.cloud.google.com/ -> APIs & Services -> Credentials. If it is your first project in Cloud Console create one.
- Click "Create Credentials" -> "OAuth client ID" (Application type = Desktop app) and click "Create".
- Download JSON and put it in the same folder with the program.
- Go to APIs & Services -> Library and activate "Google Search Console API" and "Indexing API".
- Start the program and follow instructions in the console.
-
Made on Python 3.8.x (recommended) Tick the "Add to PATH" option during the installation process.
-
Install packages:
pip install --upgrade google-api-python-client, google-auth-oauthlib, google-auth
Type in this command into your terminal.
-
Start Terminal in the program folder and type in:
python main.py
orpython3 main.py
-
Enjoy😻
I appreciate your bug reports and suggestions🖖