Skip to main content

Python client for Firebase Dynamic Links API

Project description

Firebase Dynamic Links python client

Simple python client to generate Firebase Dynamic Links. It allows to use a custom domain and fields for generate links for android and ios.



pip install py-firebase-dynamic-links


from firebase_dynamic_links import DynamicLinks

api_key = 'your_api_key'
domain = ''
timeout = 10
dl = DynamicLinks(api_key, domain, timeout) # or DynamicLinks(api_key, domain)
params = {
    "androidInfo": {
        "androidPackageName": 'packagename',
        "androidFallbackLink": 'fallbacklink',
        "androidMinPackageVersionCode": '1'
# dl.generate_dynamic_link(url_to_redirect, create_short_url, params) or
# dl.generate_dynamic_link(url_to_redirect)
short_link = dl.generate_dynamic_link('', True, params) #
  • api_key: Key from firebase console
  • domain: Domain uri prefix created in firebase console. For example or your custom domain.
  • timeout: Timeout for the api call
  • params: Dictionary of optional params. For example:
    "androidInfo": {
      "androidPackageName": string,
      "androidFallbackLink": string,
      "androidMinPackageVersionCode": string
    "iosInfo": {
      "iosBundleId": string,
      "iosFallbackLink": string,
      "iosCustomScheme": string,
      "iosIpadFallbackLink": string,
      "iosIpadBundleId": string,
      "iosAppStoreId": string

More params available here


Project details

Download files

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

Files for py-firebase-dynamic-links, version 1.0.1
Filename, size File type Python version Upload date Hashes
Filename, size py-firebase-dynamic-links-1.0.1.tar.gz (2.7 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page