Skip to main content

Amino Bots with python!

Project description

k_amino

k_amino is unofficial client for Aminoapps API in Python.

Installation

You can use either python3 setup.py install or pip3 install k-amino.py to install. This module is tested on Python 3.9+.

Contributing

k_amino is open source module, anyone can contribute. Please see the Github Repository

Discord

You can join the Discord Server to add suggestions or to report problems and to get new updates and changes

Features

  • Faster than other Aminoapps python modules
  • Supports async and sockets, events
  • Easy and sample to use
  • No Too many requests.
  • Continual updates and bug fixes
  • Have alot of useful functions

Examples

Bot Support

from k_amino import Client


client = Client(bot=True)
client.login("< email >", "< password >")


@client.command()
def test(data, ok: str = "ok"):
    data.subClient.send_message(data.chatId, f"Test is {ok}!")

Get SessionID

import k_amino

client = k_amino.Client()
client.login("< email >", "< password >")
print(client.sid)

Login with SessionID

import k_amino

client = k_amino.Client()
client.sid_login("< sid >")
print(client.sid)

Send a message in chat

import k_amino

client = k_amino.Client()
client.login("< email >", "< password >")
path = client.get_from_link("< chat link >")
local = k_amino.Local(path.comId)
local.send_message(path.objectId, "< message >")

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

k-amino.py-1.0.5.tar.gz (44.9 kB view hashes)

Uploaded Source

Built Distribution

k_amino.py-1.0.5-py3-none-any.whl (46.2 kB view hashes)

Uploaded Python 3

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