Skip to main content

async client library for the Emoji Connoisseur API

Project description

aioec
=====

An aiohttp-based client for the `Emoji Connoisseur API <https://emoji-connoisseur.python-for.life>`_.


Usage
----

.. code-block:: python

import aioec

ec_client = aioec.Client(token='your token here')
# if no token is provided, only anonymous endpoints will be available

# in a coroutine...
emote = await ec_client.emote('Think')
emote.name # Think

await emote.edit(name='Think_', description='a real happy thinker')
# remove the description:
await emote.edit(description=None)

for gamewisp_emote in await client.search('GW'):
await gamewisp_emote.delete()

all_emotes = await client.emotes()
popular_emotes = await client.popular()

License
-------

MIT/X11

Copyright © 2018 Benjamin Mintz <bmintz@protonmail.com>

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

aioec-0.0.3.tar.gz (4.4 kB view details)

Uploaded Source

File details

Details for the file aioec-0.0.3.tar.gz.

File metadata

  • Download URL: aioec-0.0.3.tar.gz
  • Upload date:
  • Size: 4.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: Python-urllib/3.6

File hashes

Hashes for aioec-0.0.3.tar.gz
Algorithm Hash digest
SHA256 4807ca3d39be8a0745616756eed580692b14304f788cb03934e344decb5ca55e
MD5 b95e6ccdaa7cc34100e0d1161851910f
BLAKE2b-256 09db7288d54e2b69e8e64d474d2bcc86b0854a58176b2598ba2c2d587313bd45

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page