import amino client = amino.Client() client.login(email='*****@*****.**', password='******') f = open('log.txt', 'wb') #my code subclients = client.sub_clients() for name, id in zip(subclients.name, subclients.comId): print(name, id) write_text = str(name) + ' : ' + str(id) + '\n' f.write(write_text.encode('utf8')) #my code f.close() #my code
import amino c=amino.Client() c.login(email=input("Email: ") ,password=input("Password: "******"By Bovonos") userlink=input("Type Your Profile Link: ") user=c.get_from_code(userlink) userId=user.objectId comId=user.path[1:user.path.index('/')] print ("") print ("") print ("userId: ",userId) print ("comId: ",comId)
#!/usr/bin/env python3 from os import _exit try: import amino except: print("\nno internet\n\nplease login network for run") _exit(1) from getpass import getpass from time import sleep first = '' last = ' ' c = amino.Client() ff = False while ff == False: url = input("url group : ") try: urll = amino.Client().get_from_code(url) chatId = urll.objectId comId = urll.path[1:str(urll.path).index("/")] ff = True except: ff = False if input("to be continue ? : y/n : ") == "n": _exit(1) # [email protected] # password zz = False while zz == False: q = input( "login with email or sid ?\n\n if email type : e\n if sid type : s \n\n choose one : " )
#!/usr/bin/env python3 import amino from getpass import getpass from pprint import pprint import skills import time from common.util import sanitize, show_message, gen_file import os from threading import Timer creds = { 'email': os.environ['AMINO_USER'], 'password': os.environ['AMINO_PASS'] } client = amino.Client(security=False) client.login(**creds) print('Logged in.') # Helper function to send a message def send_message(com, msg): sub = amino.SubClient(comId=com, profile=client.profile) try: sub.send_message(**msg) except Exception: print("Something happened. The message might have been sent anyway tho'.") # Wait for incoming text messages @client.callbacks.event('on_text_message') def on_text_message(data): show_message(data) if data.message.content[0] != '$': return
async def main(): client = amino.Client() await client.login(email="YOUR EMAIL", password="******") subclient = await amino.SubClient(aminoId="AMINO ID", profile=client.profile) await subclient.delete_blog("BLOG ID")
import amino from amino import Client print('Рейд клан AZATHOTH, скрипт от Пандоры и Души, антирейд бот :D') mail = input('[AZATHOTH] логин(почта): ') password = input('[AZATHOTH] пароль: ') communityId = Client().get_from_code( str(input("[AZATHOTH] ссылка на сообщество: "))) ndcId = communityId.json["extensions"]["community"]["ndcId"] CLIENT = amino.Client() CLIENT.login(email=mail, password=password) SUBCLIENT = amino.SubClient(comId=str(ndcId), profile=CLIENT) chats = input( "Войти во все чаты в сообществе? (Да/нет, не зависит от регистра): " ).lower() if chats == "да": print('\n[AZATHOTH] чаты в сообществе: ') x = 0 CLIENT_CHAT_IDS_MENU = [] chats = SUBCLIENT.get_public_chat_threads(size=200) for name, id in zip(chats.title, chats.chatId): if name != None: print(x + 1, ":", name) CLIENT_CHAT_IDS_MENU.append(str(id)) x += 1 for j in CLIENT_CHAT_IDS_MENU: SUBCLIENT.join_chat(j) print(f"[AZATHOTH] {j}: бот присоединился к чату")