Skip to content

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.

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("she.a@lil.freak", "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.