Python API for the NovelAI REST API
Project description
novelai-api
Python API for the NovelAI REST API
The module is intended to be used by developers as a help for using NovelAI's REST API.
Examples:
The examples are in the example folder. Each example is working and can be used as a test.
Each example can be called with python <name>.py
.
Tests:
The test suite is WIP and can be called with python tests/test.py [-n <number of iterations>] [--no-login] [--side-effect]
.
A login will be require unless --no-login is passed
--side-effect will allow the class to modify things on the logged account, and can have undesired effects (so use it with caution !).
Module:
The actual module is in the novelai-api folder. Valid imports are : novelai_api.NovelAI_API
, novelai_api.NovelAIError
, and everything under the novelai_api.utils
namespace.
This module is asynchronous, and, as such, must be run with asyncio. An example can be found in any file of the example directory.
The module is registered as package under Pypi.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for novelai_api-0.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ae21fd14f32cb7fb8d10b6624090b28a1697477db63822f7751705034da08498 |
|
MD5 | bd0327cc0172973cadd6914e5d0be38b |
|
BLAKE2b-256 | 2fc3bce0c9534beb70879a43b038db0213656ea12216f49751bd02a0b2a21622 |