Skip to content

Latest commit

 

History

History
30 lines (19 loc) · 658 Bytes

File metadata and controls

30 lines (19 loc) · 658 Bytes

Firebase Dynamic Links URL Shortener

This is a Python Client for Firebase Dynamic Links to Shorten URLs.

Requirements

Be sure you have the following installed on your development machine:

  • Python >= 3.6
  • pip

Installation

Install the package:

pip install python-firebase-url-shortener

Usage

from python_firebase_url_shortener.url_shortener import UrlShortener

url_shortener = UrlShortener('your_api_key', 'domain_name')
url_shortener.get_short_link('https://www.example.com/')

Note

Here Domain Name Refers to The Subdomain you set for your Dynamic Links.