Python client for Firebase Dynamic Links
Project description
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
py-fdl-1.1.2.tar.gz
(3.1 kB
view hashes)
Built Distribution
Close
Hashes for py_fdl-1.1.2-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0c3872846aff8f2926364e206b4b2c3166b081d2f2cc9f067e6086a07a2d6e6f |
|
MD5 | 335a45a3b35f9f5a1b91d72794945527 |
|
BLAKE2b-256 | 57ac821c98a2b852f356ebfd6c6a45a6cb2cbe2170b3d60160da4a6ba824cfae |