webmaster tools access via API with service account
See original GitHub issueIs access to webmaster tools supported via this API client using a Service Account?
I am receiving and Empty Set (ie - “{}”) when running the following code:
webmasters_service.sites().list().execute()
Issue Analytics
- State:
- Created 8 years ago
- Comments:7 (2 by maintainers)
Top Results From Across the Web
How to enable a Service Account to access Search Console ...
How can I enable my service account to access the data through Search Console API of that specific WEB page? I'm a "verified...
Read more >Prerequisites | Search Console API - Google Developers
You need a Google Account to use this API. Your account must have the appropriate Search Console permission on a given property in...
Read more >Unable to query Google Search Console API using a Service ...
A very basic workflow to authenticate and once authenticated, send a request would looks like the following code. The Search Console API can...
Read more >Supercharge your Webmaster Skills using the Google Search ...
Google's Search Console API is an extremely useful tool for ... and set up a Service Account with the right access credentials to...
Read more >Accessing Bing Webmaster APIs using OAuth 2.0
Sign in to your account on Bing Webmaster Tools. · Click on Settings button on top right corner and then go to API...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Okay I’ve managed to get this to work, in case anyone else stumbles across this is what had to be done:
client_secrets.json
After these steps were completed I was then able to access the API using the following code to create the service:
And a code of gsc_api from google, it’s need for requests: