/Amino.fix.fix

Fixes and reworks for Amino.fix to working with Amino

Primary LanguagePythonMIT LicenseMIT

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.

Important notices

  • in subclient you should pass client, not profile
  • if you have issues with HTTPX let me know here
  • 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

New documentation! (In progress!!)

old documentation

Licenses

This library is MIT licensed code.