carlogtt_python_library.amazon_internal.tiny_url module
This module …
- class carlogtt_python_library.amazon_internal.tiny_url.AmazonTinyUrl[source]
Bases:
objectA handler class for the TinyUrl API.
- create_amazon_tiny_url(long_url: str, cookie_filepath: str = '~/.midway/cookie') str[source]
Create a tiny url. Using Amazon backend service https://tiny.amazon.com
- Parameters:
long_url – The url to convert to tiny.
cookie_filepath – The file path to the cookie file. Defaults to “~/.midway/cookie”.
- Returns:
The tiny url for the agenda preview.