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
)
)
Metadata
Release files for amazon-affiliate-url 0.1.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| amazon_affiliate_url-0.1.4.tar.gz | 3.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| amazon_affiliate_url-0.1.4-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 7.8 kB
Release files / amazon_affiliate_url-0.1.4.tar.gz
| Download URL | amazon_affiliate_url-0.1.4.tar.gz |
|---|---|
| Size | 3.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a814ea2f005ffe62c3b4c69ff7ce2704b8398be328d22fc15b1494f88887dfc2
|
|
BLAKE2b-256 checksum How to use checksums |
dc8c6f748e10f0d4e22934a377e9c823144a8be8fc6b7dd5a722ce507183ca7a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Release files / amazon_affiliate_url-0.1.4-py3-none-any.whl
| Download URL | amazon_affiliate_url-0.1.4-py3-none-any.whl |
|---|---|
| Size | 4.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2f2b253af3a1f2de496c87fa54a4844f1beed7841042f7438383a7e61e1e4b48
|
|
BLAKE2b-256 checksum How to use checksums |
88c6b38ed6e05ceda4b126ef34cac2b5eddb993acc8fcc380d9d6b0c36b7537c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|