Migrated from generic-functions v2
parent
94d01186cf
commit
79edd840ac
1 changed files with 4 additions and 6 deletions
|
|
@ -1,15 +1,13 @@
|
|||
h1. Generic Tango Functions
|
||||
|
||||
The following functions serve basic needs, both in terms of the library itself, and some auxiliary functions.
|
||||
|
||||
shortenURL()
|
||||
<b>shortenURL()
|
||||
|
||||
Returns a specified url shortened by is.gd. The choice of url shortener can be overridden if necessary. Most url shorteners have API limits; be sure to investigate this before you use this in a widespread manner.
|
||||
|
||||
Parameters:
|
||||
url_to_shorten: (Required) The url that you want shortened.
|
||||
shortener: (Optional) The url of your desired shortener API. Defaults to http://is.gd/api.php.
|
||||
query: (Required if overriding default service) The name of the url parameter you're passing to the service.
|
||||
* <b>url_to_shorten:</b> (Required) The url that you want shortened.
|
||||
* <b>shortener:</b> (Optional) The url of your desired shortener API. Defaults to http://is.gd/api.php.
|
||||
* <b>query:</b> (Required if overriding default service) The name of the url parameter you're passing to the service.
|
||||
|
||||
<pre>
|
||||
<code>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue