Released a CLI tool for easily retrieving accesstoken from Google OAuth2. The title is gogauth. When I have seen stackoverflow, I knew that it is difficult to retrieve accesstoken from Google OAuth2. So I made this.
Features of this CLI tool are as follows.
-
Retrieves easily accesstoken from Google OAuth2 for using Drive API.
-
If you have PhantomeJS, this retrieves “code” from Google using it. So you don’t need to launch your browser for retrieving “code”.
-
Uses expiration time of accesstoken.
Using gogauth, it will be able to easily use Drive API like this.
You can see and download gogauth from here.