gmail-cli
cli for gmail
Last updated a year ago by menubar .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install gmail-cli 
SYNC missed versions from official npm registry.

gmail-cli NPM version Build Status Dependency Status Coverage percentage

cli for gmail

Installation

$ npm install -g gmail-cli

Usage

gmail-cli

Setup

Requires a client_id, client_secret, and redirect_uris.

client_id and secret can be obtained for Google's Gmail API here: https://console.developers.google.com/start/api?id=gmail

Walk-through

These are the steps to get programmatic access to the Gmail API.

Start here https://console.developers.google.com/start/api?id=gmail

Step 1

step-1

Click continue.

Step 2

step-2

Click go to credentials.

Step 3

step-3

Select user data.

Step 4

step-4

Add http://localhost:3000 to authorized origins. Add http://localhost:3000/callback to authorized callbacks.

Step 5

step-5

Download credentials.

They should look like:

{
  "web": {
    "client_id": "1234567891011-abcdefghijklmnopqrstuvwxyz.apps.googleusercontent.com",
    "project_id": "amiable-dynamo-1234567",
    "auth_uri": "https://accounts.google.com/o/oauth2/auth",
    "token_uri": "https://accounts.google.com/o/oauth2/token",
    "auth_provider_x509_cert_url": "https://www.googleapis.com/oauth2/v1/certs",
    "client_secret": "s6jqlmn72hyq82hbcvaa2",
    "redirect_uris": ["http://localhost:3000/callback"],
    "javascript_origins": ["http://localhost:3000"]
  }
}

License

MIT © Ben

Current Tags

  • 1.0.38                                ...           latest (a year ago)

39 Versions

  • 1.0.38                                ...           a year ago
  • 1.0.37                                ...           a year ago
  • 1.0.36                                ...           a year ago
  • 1.0.35                                ...           a year ago
  • 1.0.34                                ...           a year ago
  • 1.0.33                                ...           a year ago
  • 1.0.32                                ...           a year ago
  • 1.0.31                                ...           a year ago
  • 1.0.30                                ...           a year ago
  • 1.0.29                                ...           a year ago
  • 1.0.28                                ...           a year ago
  • 1.0.27                                ...           a year ago
  • 1.0.26                                ...           a year ago
  • 1.0.25                                ...           2 years ago
  • 1.0.24                                ...           2 years ago
  • 1.0.23                                ...           2 years ago
  • 1.0.22                                ...           2 years ago
  • 1.0.21                                ...           2 years ago
  • 1.0.20                                ...           2 years ago
  • 1.0.19                                ...           2 years ago
  • 1.0.18                                ...           2 years ago
  • 1.0.17                                ...           2 years ago
  • 1.0.16                                ...           2 years ago
  • 1.0.15                                ...           2 years ago
  • 1.0.14                                ...           2 years ago
  • 1.0.13                                ...           2 years ago
  • 1.0.12                                ...           2 years ago
  • 1.0.11                                ...           2 years ago
  • 1.0.10                                ...           2 years ago
  • 1.0.9                                ...           2 years ago
  • 1.0.8                                ...           2 years ago
  • 1.0.7                                ...           2 years ago
  • 1.0.6                                ...           2 years ago
  • 1.0.5                                ...           2 years ago
  • 1.0.4                                ...           2 years ago
  • 1.0.3                                ...           2 years ago
  • 1.0.2                                ...           2 years ago
  • 1.0.1                                ...           2 years ago
  • 1.0.0                                ...           2 years ago
Maintainers (2)
Downloads
Today 0
This Week 0
This Month 1
Last Day 0
Last Week 1
Last Month 2
Dependencies (17)
Dev Dependencies (3)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |