Unofficial client to work with Aminoapps, based on Amino.fix and HTTPX. Improved without losing compatibility.
- in subclient you should pass
client
, notprofile
- if you have issues with HTTPX let me know here
lib/util
->lib/
- if you have issues in pydroid, reinstall/update it
pip install amino.fix.fix
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 syncpip 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)")
New documentation! (In progress!!)
- HTTPX is BSD licensed code. Used as main library to build and send API async and sync requests.
- Requests is Apache 2.0 licensed code. Used as alternative library to build and send API requests.
- aiohttp is Apache 2.0 licensed code. Used as alternative async library to build and send API requests.
- websocket-client is Apache 2.0 licensed code. Used for sockets.
- python-socks is Apache 2.0 licensed code. Used for SOCKS proxies in API requests and (in future) sockets.
- amino.fix is MIT licensed. Forked to do this library.
- hathcling is MIT licensed. Used to build PyPI releases.
This library is MIT licensed code.