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, Country

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,
        country=Country.Netherlands
    )
)

Project details


Download files

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

Files for amazon-affiliate-url, version 0.1.4
Filename, size File type Python version Upload date Hashes
Filename, size amazon_affiliate_url-0.1.4-py3-none-any.whl (4.7 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size amazon_affiliate_url-0.1.4.tar.gz (3.0 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page