Skip to content

The Google URL Shortener API allows you to shorten URLs just as you would on goo.gl

Notifications You must be signed in to change notification settings

asveloper/shortner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

Shorten a long URL


The Google URL Shortener API allows you to shorten URLs just as you would on goo.gl


This is a sample Meteor code that you can use to shorten the url.

Meteor.call("shortenUrl", "http://www.asveloper.com", function(error, result){ if(error){ console.log(error); }else{ console.log(result); } });

Output:

{
"kind": "urlshortener#url",
"id": "http://goo.gl/kPDPmF",
"longUrl": "http://www.asveloper.com/"
}

For more details you can visit: https://developers.google.com/url-shortener/v1/getting_started

Contributors

Arslan Nasir

About

The Google URL Shortener API allows you to shorten URLs just as you would on goo.gl

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published