Skip to content

saadmk11/python_firebase_url_shortener

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.