Catalog PyPI
PACKAGE EXPLORERView in registry

Affiliate-Links-Generator

PyPI

A Python tool to convert normal product URLs to affiliate links.

Versions collected1
Direct dependencies0From release 0.1.2
Last observed20 Oct, 21:03 UTC

README

Version 0.1.2 documentation

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 tag to any Amazon URL.
  • eBay Partner Network (EPN): Adds EPN tracking parameters (campid, mkevt, mkcid) to eBay listings.
  • Flipkart Affiliate: Appends your affid to 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 merchantid and userid.
  • CJ Affiliate: Deep link generator using your pid (Website ID) and aid (Ad ID).
  • Impact Radius: Uses your Impact base_url to 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_id and merchant_id to 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.

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Versions 1

Collected releases
VersionPublishedDirect dependenciesOpen version
0.1.231 Jul 20260

Package advisories

0
No matching advisories collected

This describes our collected data; it is not a security assessment.

Repository

PENDING
rishibanota/affiliate-links-generator

Shared repository data · GitHub

License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 21:03 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package:680a7f8e18452c578fa4ffe11528ed5bd6b876e679bfaf943b1dcb6801a4158f