Skip to content

Ba3a-G/Smart-Links

Repository files navigation

Smart Links

Links that open directly in app using intents for Android and iOS. For example, any youtube.com URL will open in the Youtube App only.

All contributors are welcome.

Usage

git clone "https://github.com/ba3a-g/smart-links"

# In project directory
from smartlinks import Intent
generator = Intent("https://twitter.com/ba3a_gamzo")
generator.getIntents()
{
    "web": "https://twitter.com/ba3a_gamzo/",

    "android": "intent://twitter.com/ba3a_gamzo#Intent;package=com.twitter.android;scheme=https;end",

    "ios": "twitter://user?screen_name=ba3a_gamzo"
}
Type: Python Dict

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages