polr-api
Advanced tools
Comparing version 1.1.4 to 1.1.5
{ | ||
"name": "polr-api", | ||
"version": "1.1.4", | ||
"version": "1.1.5", | ||
"description": "A simple API wrapper for polr-powered URL shortners.", | ||
@@ -5,0 +5,0 @@ "main": "polr.js", |
@@ -28,3 +28,3 @@ polr-api is a little API wrapper for your own polr-powered URL shortening service. | ||
polrApi = new polr.Api("server hostname", "polr API key", "protocol(optional)") | ||
polr.shorten("link", function(res){ | ||
polrApi.shorten("link", function(res){ | ||
console.log(res); | ||
@@ -39,5 +39,5 @@ }); | ||
polrApi = new polr.Api("server hostname", "polr API key", "protocol(optional)") | ||
polr.shortenCustom("link", "custom ending", function(res){ | ||
polrApi.shortenCustom("link", "custom ending", function(res){ | ||
console.log(res); | ||
}); | ||
``` |
2884