Skip to content
This repository has been archived by the owner on Jan 22, 2025. It is now read-only.
/ Amino.fix.fix Public archive

Fixes and reworks for Amino.fix to working with Amino

License

Notifications You must be signed in to change notification settings

imperialwool/Amino.fix.fix

Repository files navigation

Amino.fix.fix

Documentation Status PyPi Version PyPi Preview Python Version Issues GitHub pull requests

Unofficial client to work with Aminoapps, based on Amino.fix and HTTPX. Improved without losing compatibility with aminofix.

PUBLIC ARCHIVE: Since I left Amino, library is no longer maintained. It still should work, but you need workaround to make NDC-MESSAGE-SIGNATURE. Thanks y'all for this journey. Maybe one day...

Important notices

  • in subclient you should pass client, not profile
  • lib/util -> lib/
  • if you have issues in pydroid, reinstall/update it

How to install?

pip install amino.fix.fix

How to use it?

If you want to use sync version of library, you should import aminofixfix.

If you want to use Async version of library, you should import aminofixfix.asyncfixfix.

Also instead HTTPX you can use aiohttp, Requests or Urllib3. Just install additional dependencies, if you wanna use them:

  • pip install amino.fix.fix[requests] # only sync
  • pip install amino.fix.fix[aiohttp] # only async

Please report any issues and bugs that Request and aiohttp are causing when you use them instead of HTTPX! This feature in beta and not tested well.

Example:

import aminofixfix

client = aminofixfix.Client()
client.login("[email protected]", "sheforthestreets")

@client.event("on_text_message")
def on_text_message(data):
    if data.message.content == "Six digits on the check, took it to the bank":
        client.send_message(data.message.chatId, "Commas after commas, make ya boy— (Freak out)")

API Reference

Here is docs, hosted on readthedocs. Generated based on code.

old documentation (in case you need this for some reason)

Licenses

This library is MIT licensed code.