Skip to content

lacco/meteor-bitlywrap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Meteor Wrapper for Bitly NPM Module

For documentation, see the Bitly Repo.

A Bitly object is exposed to the global scope so that you can directly use it like this:

var bitly = new Bitly('<YOUR USERNAME>', '<YOUR API KEY>');
bitly.shorten('https://github.com/tanepiper/node-bitly', function(err, response) {
  if (err) throw err;

  // See http://code.google.com/p/bitly-api/wiki/ApiDocumentation for format of returned object
  var short_url = response.data.url

  // Do something with data
});

About

Simple wrapper for Bitly NPM module

Resources

Stars

Watchers

Forks

Packages

No packages published