## k_amino
k_amino is unofficial client for [Aminoapps](https://aminoapps.com/) 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](https://github.com/Kwel999/k_amino)
## Discord
You can join the [Discord Server](https://discord.gg/wGRQYd3nVd) to add suggestions or to report problems
and to get new updates and changes
## Youtube Channel
you can check this [youtube channel](https://youtube.com/@KWELATEYOURPIZZA) for more information about script and bots
## Features
- Faster than other [Aminoapps](https://aminoapps.com/) 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
```py
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
```py
import k_amino
client = k_amino.Client()
client.login("< email >", "< password >")
print(client.sid)
```
#### Login with SessionID
```py
import k_amino
client = k_amino.Client()
client.sid_login("< sid >")
print(client.sid)
```
#### Send a message in chat
```py
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}")
```
Raw data
{
"_id": null,
"home_page": "https://github.com/kwel999/K_Amino",
"name": "k-amino.py",
"maintainer": null,
"docs_url": null,
"requires_python": null,
"maintainer_email": null,
"keywords": "api, python, python3, python3.x, KWEL, kwel999, kwel.py, Amino, kamino, kamino pyK-Amino, kamino, kamino, kamino-bot, kamino-bots, kamino-bot, ndc, narvii.apps, aminoapps, kamino-py, kamino, kamino-bot, narvii",
"author": "KWEL",
"author_email": "itskwel999@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/7f/cf/01b7bb9dc1ac8a5e647a33edbcf3bc48439844578908b4585c0c11c4df9f/k-amino.py-1.8.0.tar.gz",
"platform": null,
"description": "## k_amino\r\nk_amino is unofficial client for [Aminoapps](https://aminoapps.com/) API in Python.\r\n\r\n## Installation\r\nYou can use either `python3 setup.py install` or `pip3 install k-amino.py` to install. This module is tested on Python 3.8+.\r\n\r\n## Contributing\r\nk_amino is open source module, anyone can contribute. Please see the [Github Repository](https://github.com/Kwel999/k_amino)\r\n\r\n## Discord\r\nYou can join the [Discord Server](https://discord.gg/wGRQYd3nVd) to add suggestions or to report problems\r\nand to get new updates and changes\r\n\r\n## Youtube Channel\r\nyou can check this [youtube channel](https://youtube.com/@KWELATEYOURPIZZA) for more information about script and bots\r\n\r\n## Features\r\n- Faster than other [Aminoapps](https://aminoapps.com/) python modules\r\n- Supports async and sockets, events\r\n- Easy and sample to use\r\n- No `Too many requests.`\r\n- Continual updates and bug fixes\r\n- Have alot of useful functions\r\n\r\n## Examples\r\n\r\n#### Bot Support\r\n```py\r\nfrom k_amino import Client\r\n\r\n\r\nclient = Client(bot=True)\r\nclient.login(\"< email >\", \"< password >\")\r\n\r\n\r\n@client.command()\r\ndef test(data, ok: str = \"ok\"):\r\n data.subClient.send_message(data.chatId, f\"Test is {ok}!\")\r\n```\r\n\r\n\r\n#### Get SessionID\r\n```py\r\nimport k_amino\r\n\r\nclient = k_amino.Client()\r\nclient.login(\"< email >\", \"< password >\")\r\nprint(client.sid)\r\n```\r\n\r\n#### Login with SessionID\r\n```py\r\nimport k_amino\r\n\r\nclient = k_amino.Client()\r\nclient.sid_login(\"< sid >\")\r\nprint(client.sid)\r\n```\r\n#### Send a message in chat\r\n\r\n```py\r\nfrom k_amino import(\r\nClient,\r\nSubClient\r\n)\r\nimport getpass\r\n\r\nclient = Client()\r\nemail = input(\"email: \")\r\npassword = getpass.getpass(\"password: \")\r\nclient.login(email=email, password=password)\r\n\r\nchat_link = client.get_from_link(input(\"chat link: \"))\r\nchat_id = chat_link.objectId\r\nndc_client = SubClient(comId=chat_link.comId)\r\n\r\n\r\n\r\nwhile True:\r\n text = input(\"Your message: \")\r\n ndc_client.send_message(chatId=chat_id,message=text, messageType=0)\r\n print(f\"message sended: {text}\")\r\n```\r\n",
"bugtrack_url": null,
"license": "Apache",
"summary": "Amino Bots with python!",
"version": "1.8.0",
"project_urls": {
"Homepage": "https://github.com/kwel999/K_Amino"
},
"split_keywords": [
"api",
" python",
" python3",
" python3.x",
" kwel",
" kwel999",
" kwel.py",
" amino",
" kamino",
" kamino pyk-amino",
" kamino",
" kamino",
" kamino-bot",
" kamino-bots",
" kamino-bot",
" ndc",
" narvii.apps",
" aminoapps",
" kamino-py",
" kamino",
" kamino-bot",
" narvii"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "9a14ddd0217c95a0cbfb7268aeee5501c9256c051da84cf5b444ac3a01fc7632",
"md5": "7ca81c7dc0595b546b6ff567274179f5",
"sha256": "883a762a1ae5cdb4e36efdf94c6067116b9584b95ecca7af829ea336a32a686c"
},
"downloads": -1,
"filename": "k_amino.py-1.8.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "7ca81c7dc0595b546b6ff567274179f5",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 107023,
"upload_time": "2024-05-16T21:23:26",
"upload_time_iso_8601": "2024-05-16T21:23:26.274336Z",
"url": "https://files.pythonhosted.org/packages/9a/14/ddd0217c95a0cbfb7268aeee5501c9256c051da84cf5b444ac3a01fc7632/k_amino.py-1.8.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "7fcf01b7bb9dc1ac8a5e647a33edbcf3bc48439844578908b4585c0c11c4df9f",
"md5": "55d606d57bba59d66f5bfe12df87fb2e",
"sha256": "9b684e92d6df100316cd2ebeab5964bee3815dd1fa64df57b8f9b9b3402e3168"
},
"downloads": -1,
"filename": "k-amino.py-1.8.0.tar.gz",
"has_sig": false,
"md5_digest": "55d606d57bba59d66f5bfe12df87fb2e",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 100634,
"upload_time": "2024-05-16T21:23:28",
"upload_time_iso_8601": "2024-05-16T21:23:28.400573Z",
"url": "https://files.pythonhosted.org/packages/7f/cf/01b7bb9dc1ac8a5e647a33edbcf3bc48439844578908b4585c0c11c4df9f/k-amino.py-1.8.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-05-16 21:23:28",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "kwel999",
"github_project": "K_Amino",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"requirements": [],
"lcname": "k-amino.py"
}