PyNekosOO

Python client for the https://nekos.moe/ API


Keywords
Nekos, moe, Neko, API
License
MIT
Install
pip install PyNekosOO==2.0.3

Documentation

PyNekosOO: a Python wrapper for the Nekos.moe API

PyNekosOO provides a simple and pythonic way to use the Nekos.moe API. Fork of ChoiYun's wrapper focused on allowing the user not to work with raw json data.

The full documentation for PyNekosOO can be found here.

Setup

Some functionalities of the API require authentication, for example posting images, regenerating the token adding likes and favorites. If you want to use these functionalities you have to have an account. Create one here. Note that this is optional as you can use most of the wrapper with out an account.

Authorisation

If you want to use to use functionalities of the API requiring authorisation, you'll need the token. To get the token, you'll need your credentials:

from PyNekosOO import *
nyan = Neko(username='myuser', password='iwillnotshowyouthis')
nyan.get_token()

Afterwards the Neko instance is authorised.

Examples

You can see the usage of all endpoints of the API in the example files.

Contributing

Please contribute! If you want to fix a bug, suggest improvements, or add new features to the project, just open an issue or fork the project.