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.
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