Skip to main content

Installation

Basic Usage

Here’s how you can use the Dub Python SDK to create a link and retrieve click analytics in timeseries format for it:
For more usage examples:
  1. Organizing links by external ID, tenant ID, tags, etc
  2. Bulk link operations (create, update, delete)
  3. Retrieving link analytics

Frameworks

You can use the Dub Python SDK with any Python framework:
  1. Usage with Flask
  2. Usage with Django
If you’re using a different Python framework, you can refer to the Python SDK quickstart for a basic example.

Additional Resources

PyPI Package

Download and install the Dub Python SDK on PyPI

SDK Reference

View the complete SDK reference documentation

Examples

Quickstart examples with the Python SDK

Source Code

View the complete source code for the Dub Python SDK