from novelai_api import *
api = NovelAI_API(1, 'properUsername', 'properPassword')
fails with this error:
...\venv\lib\site-packages\novelai_api\NovelAI_API.py:42: RuntimeWarning: coroutine 'High_Level.login' was never awaited
self.high_level.login(username, password)
RuntimeWarning: Enable tracemalloc to get the object allocation traceback
I don't have any experience with async, and the lack of documentation makes it hard to figure out what's going on.
It's working for me now.
This was down to my lack of experience with the used libraries. I minimalist example would be neat for less experienced users like me, though.
Creating an API object using
fails with this error:
I don't have any experience with async, and the lack of documentation makes it hard to figure out what's going on.