Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/saadmk11/python_firebase_url_shortener

This is a Python Client for Firebase Dynamic Links to Create Short URLs.
https://github.com/saadmk11/python_firebase_url_shortener

firebase firebasedynamiclinks python python3 pythonclient pythonurlshortener requests url-shortener url-shortener-microservice urlshortener

Last synced: 13 days ago
JSON representation

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

Awesome Lists containing this project

README

        

# Firebase Dynamic Links URL Shortener

This is a Python Client for [Firebase Dynamic Links](https://firebase.google.com/docs/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:

```bash
pip install python-firebase-url-shortener
```

## Usage

```python
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.