Skip to main content

Simple wrapper for the Neirogenius API

Project description

CodeFactor PyPI

NeirogeniusPY

NeirogeniusPY is a Python wrapper for the Neirogenius API.

Neurogenius is a Discord bot created by @Pelfox that entertains people. It generates funny sentences using words from server members' messages.

Installation

  • Using PyPi
pip install neirogenius

Example usage

# Import the API class.
from neirogenius import API

# Create an instance of the API class.
api = API()

# Get the ID of the first guild.
guild = api.get_statistic().guilds[0].name  # Some name.

# Get the first message.
message = api.get_messages(677481923995500566).messages[0]  # Instance of Message class.

# Print message content.
print(message.content)

License

This project is licensed under the Apache License Version 2.0.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

neirogenius-1.1.0.tar.gz (8.1 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page