Hi folks,
I'm just starting my first plugin, it will be using a JSON web service API to fetch video URLs.
I have tested the API and wrapped it in a Python class in its own API.py file, I was intending to have the __init__.py file contain mostly UI code and call into the API.py to handle the actual network calls.
Is this code structure possible with the channels framework or do I have to put everything into __init__.py?
What imports will I need in my API.py to be able to use the framework classes such as Dict, Prefs, JSON, etc?
I've tried looking for examples and docs but not seen any explicit imports anywhere, and most channels seem to have a single __init__.py only.
Thanks for any help,
Charlie