is there and api to add an pop3 account to a gmail account .. i did get a link to the api to enable and disable the pop setting api Pop Settings link. but could not find the api to add an account from which i need to do a po
There is no API currently that provides this capability. As you stated, only changing the POP access settings to the account can be done with the current APIs.
Related
What is the Google API that will allow me to interact with Admin Gmail Advanced settings?
Right now, I'm interested in editing the Recipient address map.
In the Google Admin site, it's located at
Apps > G Suite > Settings for Gmail > Advanced settings > General Settings > Recipient address map
Gmail general settings are no more reachable from the Gmail API. In the Email Settings API migration guide it is typed «General settings are no longer available via the API». You could create an Issue Tracker feature request about mapping incoming mail addresses.
I am trying to enable Gmail API following steps in Java Quickstart. When I click on "Enable the Gmail API" button in the Google developer console, no option like "Download Client Configuration" is displayed.
So, I am unable to get credentials.json File.
Gmail API credentials are restricted to enhance apps security. To enable the credentials click on API Console after clicking on Enable the Gmail API. You will travel to a filled form on the Credentials menu on Google APIs. You can change there the name and/or restrictions to better suit your project. Finally, you can click on Generate key to finish the process.
If you have followed the steps so far, you would have created the Gmail API credentials. To achieve your request you will need to click on Download JSON button on the right side of your newly created credentials. Do not hesitate to ask for more information if I haven't explained the process with enough detail.
Just enabling the Gmail api isnt going to create client credential for you. Unfortunately the developer console changes more often then the quick starts get updated so it can be difficult to understand.
Go to the https://console.developers.google.com
Find the credentials tab on the left and click the Create credentials button
You are probably going to be looking for an oauth client id, as service accounts only work with gmail if you are connecting to a gsuite account.
is there any way to manage gmail user settings (https://developers.google.com/gmail/api/quickstart/python) for all userids within a gsuite domain? The boilerplate works great for userid 'me' but I would like to to do it my whole list of gmail accounts.
I tried to enable delegation from directory API (https://developers.google.com/admin-sdk/directory/v1/guides/delegation) but how do I link the right with the gmail API ?
Do I still have to go throught restricted oauth2 so I cannot do it without the users consent?
I found my solution it is called GAM which is a great helper tool to set your directory API keys and provides cli to manage the gmail settings of the users
https://github.com/jay0lee/GAM/wiki/ExamplesEmailSettings#retrieving-a-signature
I'm trying to get shares counts from Google+ using the Google+ API and catch only error:
Access Not Configured. +1 API has not been used in project 383866521277 before or it is disabled. Enable it by visiting https://console.developers.google.com/apis/api/pos.googleapis.com/overview?project=383866521277 then retry. If you enabled this API recently, wait a few minutes for the action to propagate to our systems and retry.
After that I visit recommended link and catch pos.googleapis.com not found. How to enable this API?
In order to access Google APIs you need to register your application on Google developer console. You have probably already created your credentials. The API key or Oauth2 credentials you created identifies the application to Google. The project that was used to create the API key or Oauth2 credentials you are using must have the Google+ API enabled.
Enable API:
What you have forgotten to do is to tell Google which APis you will be accessing. On the Left hand side look for "Library" find the Google+ api and enable it.
Error pos.googleapis.com
Means that you do not have access to the project 383866521277 or it was deleted. The person who created the project must enable the Google+ api for you. Remember this is denoted by the The API key or Oauth2 credentials you created and are using in your code.
I know that the Google Analytics API requires Open Authorization, which requires user confirmation.
Is there any alternative if I just need it for my own internal usage? Can I skip the confirmation part?
You can use a service account. A service account will allow you to access your own Google Analytics data with out requiring authentication.
Once you have created a service account in the Google Developer console you can then take the service account email address and add it as a user at the ACCOUNT level like you would any other user.
Then you will be able to use the service account to authenticate to the Google analytics API.