Skip to content

Instantly share code, notes, and snippets.

@vicchi
Created February 22, 2016 08:45
Show Gist options
  • Save vicchi/ef4792dc80cfbc2433b1 to your computer and use it in GitHub Desktop.
Save vicchi/ef4792dc80cfbc2433b1 to your computer and use it in GitHub Desktop.
what3words API authentication with Node.js
var json = require('./config.json');
var key = json.what3words.key;
var options = {
key: key
lang: 'en'
};
var w3w = new What3words(options);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment