diff options
| author | 0cyn <kat@vector35.com> | 2026-04-27 13:25:14 -0400 |
|---|---|---|
| committer | 0cyn <kat@vector35.com> | 2026-05-05 14:38:23 -0400 |
| commit | e4db4f0704ea6e6b381e9322a336661dc23c3b5f (patch) | |
| tree | 23d84ee814d18f71909dda27ce0453b778605822 /python | |
| parent | 73976e975ddf4dd0cbb5aa49425cf36e5655cd5c (diff) | |
Expose 'is_paid' Extension field in API
Diffstat (limited to 'python')
| -rw-r--r-- | python/pluginmanager.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/python/pluginmanager.py b/python/pluginmanager.py index 32d410ea..64d58e69 100644 --- a/python/pluginmanager.py +++ b/python/pluginmanager.py @@ -222,6 +222,11 @@ class Extension: 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""" return core.BNPluginGetAuthorUrl(self.handle) |
