Here you will found documentation on operations implemented by this module.
Shortener for is.gd url shortener.
Parameters: |
|
---|
Lookup an URL shortened with is.gd - v.gd url service and return the real url
Parameters: | short_url (str.) – the url shortened with .gd service |
---|---|
Returns: | str. – The original url that was shortened with .gd service |
Raises : | IOError when timeout with .gd service occurs ValueError if .gd response is malformed gdshortener.GDMalformedURLError if the previously shortened URL provided is malformed gdshortener.GDShortURLError if the custom URL requested is not available or disabled by .gd service gdshortener.GDRateLimitError if the request rate is exceeded for .gd service gdshortener.GDGenericError in case of generic error from .gd service (mainteinance) |
Shorten an URL using is.gd - v.gd url shortener service.
Parameters: |
|
---|---|
Returns: | (str,str) – Shortened URL obtained by .gd service and Stat URL if requested (otherwhise is None). |
Raises : | IOError when timeout with .gd service occurs ValueError if .gd response is malformed gdshortener.GDMalformedURLError if the URL provided for shortening is malformed gdshortener.GDShortURLError if the custom URL requested is not available gdshortener.GDRateLimitError if the request rate is exceeded for .gd service gdshortener.GDGenericError in case of generic error from .gd service (mainteinance) |
Shortener for v.gd url shortener.
Parameters: |
|
---|
Lookup an URL shortened with is.gd - v.gd url service and return the real url
Parameters: | short_url (str.) – the url shortened with .gd service |
---|---|
Returns: | str. – The original url that was shortened with .gd service |
Raises : | IOError when timeout with .gd service occurs ValueError if .gd response is malformed gdshortener.GDMalformedURLError if the previously shortened URL provided is malformed gdshortener.GDShortURLError if the custom URL requested is not available or disabled by .gd service gdshortener.GDRateLimitError if the request rate is exceeded for .gd service gdshortener.GDGenericError in case of generic error from .gd service (mainteinance) |
Shorten an URL using is.gd - v.gd url shortener service.
Parameters: |
|
---|---|
Returns: | (str,str) – Shortened URL obtained by .gd service and Stat URL if requested (otherwhise is None). |
Raises : | IOError when timeout with .gd service occurs ValueError if .gd response is malformed gdshortener.GDMalformedURLError if the URL provided for shortening is malformed gdshortener.GDShortURLError if the custom URL requested is not available gdshortener.GDRateLimitError if the request rate is exceeded for .gd service gdshortener.GDGenericError in case of generic error from .gd service (mainteinance) |