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.

Source Distribution

py-fdl-1.1.2.tar.gz (3.1 kB view details)

Uploaded Source

Built Distribution

py_fdl-1.1.2-py2.py3-none-any.whl (4.8 kB view details)

Uploaded Python 2Python 3

File details

Details for the file py-fdl-1.1.2.tar.gz.

File metadata

  • Download URL: py-fdl-1.1.2.tar.gz
  • Upload date:
  • Size: 3.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.20.1 setuptools/39.2.0 requests-toolbelt/0.8.0 tqdm/4.23.4 CPython/3.6.5

File hashes

Hashes for py-fdl-1.1.2.tar.gz
Algorithm Hash digest
SHA256 78f51f4d0e443c6b300de39bfcb47dc9cdb23717b6a50e101036b1bb182682cb
MD5 2af646fdc4ac2c3905471c4719e94cf4
BLAKE2b-256 c9b4140380d4d7db2ac98b228dd7fe94ae5b7fa99614fbeae43a61d71c2c6f24

See more details on using hashes here.

File details

Details for the file py_fdl-1.1.2-py2.py3-none-any.whl.

File metadata

  • Download URL: py_fdl-1.1.2-py2.py3-none-any.whl
  • Upload date:
  • Size: 4.8 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.20.1 setuptools/39.2.0 requests-toolbelt/0.8.0 tqdm/4.23.4 CPython/3.6.5

File hashes

Hashes for py_fdl-1.1.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 0c3872846aff8f2926364e206b4b2c3166b081d2f2cc9f067e6086a07a2d6e6f
MD5 335a45a3b35f9f5a1b91d72794945527
BLAKE2b-256 57ac821c98a2b852f356ebfd6c6a45a6cb2cbe2170b3d60160da4a6ba824cfae

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page