Automate Chrome Extension Update Workflow
Node 7 is required
More Information on "CLIENT_ID" AND "APP_ID" https://developer.chrome.com/webstore/using_webstore_api
For the first time please create extension.json with following keys
{ "CLIENT_ID": "<CLIENT_ID>", "APP_ID": "<APP_ID>" }
Your extension id, it is generated after the the extension is published to the store. This can be obtained from the url of the extension
- Go to https://console.developers.google.com/apis/credentials
- Select Your Project
- Please make sure Chrome Store API Service is enabled (Library Tab on the left)
- Create credentials (In Credentials Tab) -> OAuth Client ID -> Application Type: Other
- There are "CLIENT_ID" and "CLIENT_SECRET"
and run 'node <command.js>'
Get the link in the console then open the browser, copy the code and paste into the console
Automated request the token
These operations require code and token are ready ...
Simply request the status of the extension
The parameter is the absolute path to the zip file to update
Please see https://github.com/phonglk/chrome-extension-webpack-boilerplate on how to integrate to project