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}")
Metadata
Release files for k-amino.py 1.8.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| k-amino.py-1.8.0.tar.gz | 100.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| k_amino.py-1.8.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 207.7 kB
Release files / k-amino.py-1.8.0.tar.gz
| Download URL | k-amino.py-1.8.0.tar.gz |
|---|---|
| Size | 100.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9b684e92d6df100316cd2ebeab5964bee3815dd1fa64df57b8f9b9b3402e3168
|
|
BLAKE2b-256 checksum How to use checksums |
7fcf01b7bb9dc1ac8a5e647a33edbcf3bc48439844578908b4585c0c11c4df9f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.11.4
|
Release files / k_amino.py-1.8.0-py3-none-any.whl
| Download URL | k_amino.py-1.8.0-py3-none-any.whl |
|---|---|
| Size | 107.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
883a762a1ae5cdb4e36efdf94c6067116b9584b95ecca7af829ea336a32a686c
|
|
BLAKE2b-256 checksum How to use checksums |
9a14ddd0217c95a0cbfb7268aeee5501c9256c051da84cf5b444ac3a01fc7632
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.11.4
|