Skip to main content

A Python wrapper for the Nertivia API

Project description

Nertivia4PY

A Python wrapper for the Nertivia API.
Support Nertivia server : https://nertivia.net/i/nertivia4py

Install

pip install nertivia4py

Example

import nertivia4py

token = "TOKEN_HERE"
prefix = "!"

bot = nertivia4py.Bot(prefix)

@bot.event
def on_success(event):
    print("Connected!")

@bot.command(name="ping", description="Ping command.")
def ping_command(message, args):
    message.reply("Pong!")

bot.run(token)

For more examples, take a look at the examples folder in the github repo.

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

nertivia4py-1.0.8.tar.gz (12.4 kB view details)

Uploaded Source

File details

Details for the file nertivia4py-1.0.8.tar.gz.

File metadata

  • Download URL: nertivia4py-1.0.8.tar.gz
  • Upload date:
  • Size: 12.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.0

File hashes

Hashes for nertivia4py-1.0.8.tar.gz
Algorithm Hash digest
SHA256 f5f9f5dbfcb60a202c271fe4a94ddacd9618e1f97b29c60955ac5981735b4d7c
MD5 9b7a1b3c64ddeb7f4ed712d1ddb8ba4d
BLAKE2b-256 3ffa203c1ca12e85eaffdef686320e58a240f66111d0a8f0bb8a52d4df9353d7

See more details on using hashes here.

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