Affiliate Links Generator
A modular, robust, and easy-to-use Python command-line tool to magically convert normal product URLs into your own affiliate links for various e-commerce platforms.
Welcome to the Affiliate Links Generator! 🎉
Tired of manually generating affiliate links for different merchants? This tool makes it incredibly simple to automatically wrap or append your tracking IDs to regular product URLs. Whether you're working with Amazon, eBay, or 10+ other affiliate networks, we've got you covered!
Features & Supported Providers
We support a wide array of top affiliate networks natively:
- Amazon Associates: Seamlessly appends your
tagto any Amazon URL. - eBay Partner Network (EPN): Adds EPN tracking parameters (
campid,mkevt,mkcid) to eBay listings. - Flipkart Affiliate: Appends your
affidto Flipkart product URLs. - Walmart (Rakuten LinkSynergy): Generates a deep link using your publisher ID.
- AliExpress Portals: Generates deep links using your
aff_short_key. - ShareASale: Auto-wraps URLs into deep links using your
merchantidanduserid. - CJ Affiliate: Deep link generator using your
pid(Website ID) andaid(Ad ID). - Impact Radius: Uses your Impact
base_urlto correctly redirect traffic. - Rakuten Advertising: Deep link generator for the LinkSynergy network.
- Skimlinks: Instantly wraps almost any merchant URL into a Skimlinks redirect using your
publisher_id. - Awin (Affiliate Window): Uses your
publisher_idandmerchant_idto generate trackable links.
Installation
pip install Affiliate-Links-Generator
How to Use
Python API Integration
Want to use this in your web app or Discord bot? It's fully programmatic!
from affiliate_link_converter.converter import AffiliateConverter
# 1. Setup your configuration dictionary
config = {
'amazon': {'tag': 'your_tag-20'},
'ebay': {'campid': '5338123456', 'customid': 'social_media'}
}
# 2. Initialize the converter
converter = AffiliateConverter(config)
# 3. Magically convert your URLs!
amazon_url = converter.convert("https://www.amazon.com/dp/B08F7PTF53")
print("Amazon Affiliate Link:", amazon_url)
For full documentation and CLI usage, please visit the GitHub Repository.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file affiliate_links_generator-0.1.2.tar.gz.
File metadata
- Download URL: affiliate_links_generator-0.1.2.tar.gz
- Upload date:
- Size: 9.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b4e5a326fe4c87756c6cf726177f2df9768bee2bc3c74bc26b4179f028c8bf9c
|
|
| MD5 |
1aa8f8243a13edf32a2139a0a403fddc
|
|
| BLAKE2b-256 |
81b41fdbf65d208f716d4ac1146685b579c0994e870b2fc8f458bbb0fb4855c5
|
Provenance
The following attestation bundles were made for affiliate_links_generator-0.1.2.tar.gz:
Publisher:
python-package.yml on rishibanota/Affiliate-Links-Generator
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
affiliate_links_generator-0.1.2.tar.gz -
Subject digest:
b4e5a326fe4c87756c6cf726177f2df9768bee2bc3c74bc26b4179f028c8bf9c - Sigstore transparency entry: 2299398750
- Sigstore integration time:
-
Permalink:
rishibanota/Affiliate-Links-Generator@9ba926dc895947af79591f6aed5f62d08d743c33 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/rishibanota
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-package.yml@9ba926dc895947af79591f6aed5f62d08d743c33 -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file affiliate_links_generator-0.1.2-py3-none-any.whl.
File metadata
- Download URL: affiliate_links_generator-0.1.2-py3-none-any.whl
- Upload date:
- Size: 13.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c90ca09821b2682409fcc35b33210915ef81a9719a45de0f6771c8e8397ccc46
|
|
| MD5 |
bbb3dec3d2530d9298c8ee46d7d2af67
|
|
| BLAKE2b-256 |
4106ba745384bbd573bca99da69b22905edc05389452081acaecf76c8f5d185a
|
Provenance
The following attestation bundles were made for affiliate_links_generator-0.1.2-py3-none-any.whl:
Publisher:
python-package.yml on rishibanota/Affiliate-Links-Generator
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
affiliate_links_generator-0.1.2-py3-none-any.whl -
Subject digest:
c90ca09821b2682409fcc35b33210915ef81a9719a45de0f6771c8e8397ccc46 - Sigstore transparency entry: 2299398889
- Sigstore integration time:
-
Permalink:
rishibanota/Affiliate-Links-Generator@9ba926dc895947af79591f6aed5f62d08d743c33 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/rishibanota
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-package.yml@9ba926dc895947af79591f6aed5f62d08d743c33 -
Trigger Event:
workflow_dispatch
-
Statement type: