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.

Source Distribution

amazon_affiliate_url-0.1.4.tar.gz (3.0 kB view details)

Uploaded Source

Built Distribution

amazon_affiliate_url-0.1.4-py3-none-any.whl (4.7 kB view details)

Uploaded Python 3

File details

Details for the file amazon_affiliate_url-0.1.4.tar.gz.

File metadata

  • Download URL: amazon_affiliate_url-0.1.4.tar.gz
  • Upload date:
  • Size: 3.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.5.0.1 requests/2.25.0 setuptools/52.0.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.7.9

File hashes

Hashes for amazon_affiliate_url-0.1.4.tar.gz
Algorithm Hash digest
SHA256 a814ea2f005ffe62c3b4c69ff7ce2704b8398be328d22fc15b1494f88887dfc2
MD5 482a74b7acd046b6e7d100b586fa179b
BLAKE2b-256 dc8c6f748e10f0d4e22934a377e9c823144a8be8fc6b7dd5a722ce507183ca7a

See more details on using hashes here.

File details

Details for the file amazon_affiliate_url-0.1.4-py3-none-any.whl.

File metadata

  • Download URL: amazon_affiliate_url-0.1.4-py3-none-any.whl
  • Upload date:
  • Size: 4.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.5.0.1 requests/2.25.0 setuptools/52.0.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.7.9

File hashes

Hashes for amazon_affiliate_url-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 2f2b253af3a1f2de496c87fa54a4844f1beed7841042f7438383a7e61e1e4b48
MD5 0c857f54b7afac3c13680aa1f2a849b4
BLAKE2b-256 88c6b38ed6e05ceda4b126ef34cac2b5eddb993acc8fcc380d9d6b0c36b7537c

See more details on using hashes here.

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