From e4db4f0704ea6e6b381e9322a336661dc23c3b5f Mon Sep 17 00:00:00 2001 From: 0cyn Date: Mon, 27 Apr 2026 13:25:14 -0400 Subject: Expose 'is_paid' Extension field in API --- python/pluginmanager.py | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'python/pluginmanager.py') diff --git a/python/pluginmanager.py b/python/pluginmanager.py index 32d410ea..64d58e69 100644 --- a/python/pluginmanager.py +++ b/python/pluginmanager.py @@ -221,6 +221,11 @@ class Extension: """String URL of the plugin's zip file""" return core.BNPluginGetPackageUrl(self.handle) + @property + def is_paid(self) -> bool: + """Boolean True if this plugin requires payment, False otherwise""" + return core.BNPluginGetIsPaid(self.handle) + @property def author_url(self) -> Optional[str]: """String URL of the plugin author's url""" -- cgit v1.3.1