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.8+.
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
Youtube Channel
you can check this youtube channel for more information about script and bots
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
from k_amino import(
Client,
SubClient
)
import getpass
client = Client()
email = input("email: ")
password = getpass.getpass("password: ")
client.login(email=email, password=password)
chat_link = client.get_from_link(input("chat link: "))
chat_id = chat_link.objectId
ndc_client = SubClient(comId=chat_link.comId)
while True:
text = input("Your message: ")
ndc_client.send_message(chatId=chat_id,message=text, messageType=0)
print(f"message sended: {text}")
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
k-amino.py-1.7.0.tar.gz
(99.8 kB
view hashes)
Built Distribution
k_amino.py-1.7.0-py3-none-any.whl
(106.1 kB
view hashes)
Close
Hashes for k_amino.py-1.7.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 300e6392ba747b7b86bdd098edc1799121b6e9b99db30c67928bff3b4abb6c15 |
|
MD5 | 85a83b74587ca54799ec12a0f1193d7a |
|
BLAKE2b-256 | c337ada9ec606389b7365a6ed547e4dbe17ac4db2f91e868c917e5da09f1a8fd |