SpiderStrategies / node-gmail-api

Node module to interact with the gmail api
ISC License
154 stars 29 forks source link

What should be entered as 'key' #2

Closed gtarsia closed 9 years ago

gtarsia commented 9 years ago

The example says:

// Fetch latest 10 emails and show the snippet
var gmail = new Gmail(key)

But someone not familiar with Gmail API doesn't know what to pass as key. Can you add that to the documentation?

Thanks.

nathanbowser commented 9 years ago

Yea, good idea.

nathanbowser commented 9 years ago

https://github.com/SpiderStrategies/node-gmail-api/commit/293c4080a30f74480fda6bd4c418fec61fc4a538

jadeforrest commented 9 years ago

Another suggestion here might be to put "key" in all caps, to make it clear that it is something you want to substitute.