We’re thrilled to announce the launch of the Rebrandly Python SDK, designed to make link management easier and more powerful than ever. The launch of our new SDK demonstrates our ongoing commitment to delivering a world-class developer experience.
More links, less code
The Rebrandly Python SDK provides a clean and intuitive interface to Rebrandly’s API that drastically reduces development time. Unlike direct API integration, our SDK handles all the low-level implementation details so developers can focus on their application logic. Instead of writing custom code to handle API interactions, you can leverage pre-built methods for common link management tasks, including:
- Creating and updating links
- Implementing deep linking functionality
- Configuring traffic routing
- Managing link metadata
Our SDK handles all the complexity of interfacing with an API, allowing you to focus on what matters most: your application logic.
Key benefits
The SDK significantly reduces development overhead in three key ways:
1. Built-in essential components
Don’t spend time writing boilerplate code. The SDK includes built-in authentication, pagination, and error handling; essential components that typically require significant development time.
2. Intuitive interface
We’ve designed a consistent, Pythonic interface for all link operations. The methods follow Python best practices and are named intuitively, making your code more readable and maintainable.
3. Effortless scalability
The SDK is built for scale. Our bulk end-point makes it easy to ramp up your link creation to dozens or thousands of links in seconds.
Why Python first?
We chose Python for our first SDK because many Rebrandlycustomers and partners work extensively with this language. We wanted to provide immediate value to a significant portion of our developer community.
Using the SDK
This release provides all the functionality you need to perform the following operations in your Rebrandly account:
- Generating branded short links
- Creating a new Campaign link
- Updating a link
- Getting link details, like domain and creation date
- Listing your links
- Counting your links
- Deleting a link
- Traffic routing
- Deep linking
- Managing OpenGraph Metadata for Links
We’re continuing to add additional capabilities building on Rebrandly’s core functionality: reliable and secure link generation and management.
Installing our Python SDK can be done in only one line of code through PIP:
pip install rebrandly-official
We’ve provided a comprehensive README in our repos that provides an overview of what the SDK handles for you, how it functions, and code examples for your team.
Here’s an example of what link generation looks like using Rebrandly’s Python SDK:
from rebrandly_official.rebrandly_client import RebrandlyClient client = RebrandlyClient('YOUR_API_KEY') new_link = client.links.create('https://destination_url_...')
What’s next
The Python SDK is one step in our journey to improve the developer experience across all languages. This release represents our commitment to making link management seamless for developers. We’re actively working on:
- Additional language support and SDKs
- Feature enhancements based on developer feedback
- Continuous improvements to documentation and examples
Get started
Check out our GitHub repo to get started, leave feedback, or submit feature requests.
Stay tuned for more SDK releases as we expand language support and broaden our developer tools.