Untitled

mail@pastecode.io avatar
unknown
python
2 months ago
745 B
4
Indexable
Never

import k_amino
import time
dev="1708c56cc697c91417e1ec409663445cc5f0311b122712b0b8722928e9d8e8134b900429f1dd154a26"
client = k_amino.Client(deviceId=dev)
email="a.ya.to.lvl+48@gmail.com"
key="fcb41101-83b2-457e-a331-55b848916b81"

client.send_verify_code(email=email,key=key)
code=input(" code: ")
#client.verify(email=email,code=code)
data = client.postRequest("/g/s/auth/verify-account", data={
            "validationContext": {
                "type": 1,
                "identity": email,
                "data":{"code":code}
            },
            "verifyInfoKey": key,
            "deviceID": dev,
            "timestamp": int(time.time() * 1000)
        })
print(data)      
#client.verify_account(email=email,key=key,code=code)    
Leave a Comment