Skip to main content

Python client for Firebase Dynamic Links

Project description

Build Status Say Thanks!

py-fdl

Python client for Firebase Dynamic Links

Get started

Get you Web API Key from Firebase console Settings page. Reference: Create Dynamic Links with the REST API

Usage

from firebase_dynamic_links import dynamic_link_builder

builder = dynamic_link_builder(api_key='<Web API Key>')
options = {
    'link': 'https://www.karimoff.me',
    'apn': 'com.example.android', 
    'ibi': 'com.example.ios'
}

long_link = builder.generate_long_link(app_code='karimoff', **options)

# long_link
# 'https://karimoff.page.link/?link=https%3A%2F%2Fwww.karimoff.me&apn=com.example.android&ibi=com.example.ios'


short_link = builder.generate_short_link(app_code='karimoff', **options)

# short_link
# 'https://karimoff.page.link/ZhtUPPWJXLT9PKXg6'

Install

pip install py-fdl

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
py_fdl-1.1.2-py2.py3-none-any.whl (4.8 kB) Copy SHA256 hash SHA256 Wheel py2.py3
py-fdl-1.1.2.tar.gz (3.1 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page