How to use the urlshortener function from googleapis

Find comprehensive JavaScript googleapis.urlshortener code examples handpicked from public code repositorys.

93
94
95
96
97
98
99
100
101
102
Example: Creates a URL Shortener client and retrieves the long url of the
given short url:

``` js
var google = require('googleapis');
var urlshortener = google.urlshortener('v1');

var params = { shortUrl: 'http://goo.gl/xKbRu3' };

// get the long url of a shortened url
fork icon0
star icon0
watch icon6

+ 3 other calls in file