Skip to main content

amazon_affiliate_url

Project description

amazon_affiliate_url

Install

pip install amazon_affiliate_url
or
pip3 install amazon_affiliate_url

Usage

from amazon_affiliate_url import AmazonAffiliateUrl

ASIN = 'SOME_ASIN'
TAG =  'YOUR_AFFILIATE_TAG'
BITLY_TOKEN = 'YOUR_BITLY_TOKEN'

print(
    AmazonAffiliateUrl.url_cls(
        asin_or_url=ASIN,
        affiliate_tag=TAG,
        bitly_token=BITLY_TOKEN,
        shorten_url=True
    )
)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

amazon_affiliate_url-0.0.5.tar.gz (2.5 kB view hashes)

Uploaded Source

Built Distribution

amazon_affiliate_url-0.0.5-py3-none-any.whl (4.0 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page