You can also use the refresh token to get futureĪccess tokens. You can now use the access_token to call the API. "client_id=$CLIENT_ID&client_secret=$CLIENT_SECRET&code=$CODE&grant_type=authorization_code&redirect_uri=urn:ietf:wg:oauth:2.0:oob" $CODE with the values from above): > curl "" -d \ Token by executing the following command (replacing the values of $CLIENT_ID, $CLIENT_SECRET, and For example, using curl, you can get an access Use this value to request an access token. For example, you can create an application for otherĭevelopers to manage their apps, in which case you only need to register a Google Developers ConsoleĬlick Accept and copy the code. This account can be different from the account you created the Note: Make sure you are requesting the token using the Google developer Account which owns the Chrome Web You will see a page asking you to accept permission for the requested scope. Your app: $CLIENT_ID&redirect_uri=urn:ietf:wg:oauth:2.0:oob For example, enter this URL in your browser, replacing the $CLIENT_ID with the one for The console will provide the client ID and client secret. For Application type, choose Desktop App.Click Create Credentials then OAuth client ID.Add your email address to Test users, then click Save then Continue.Fill out the required App information fields (listed below) then click Save and Continue.In the search bar type “Chrome Web Store API”.Create a new project or select an existing one.Theįollowing sections walk through this process. Initial setupīefore you can begin making REST calls against the Chrome Web Store, you will need to enable theĬhrome Web Store API, configure your OAuth consent screen, and retrieve your API access keys. ![]() Updating, and publishing items in the Chrome Web Store. The Chrome Web Store Publish API provides a set of REST endpoints for programmatically creating,
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |