Skip to content

kubinka0505/auepa

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

 

 

Description 📝

I'm into Image Processing and I saw that there are no unoficcial EmojiPedia APIs that support many emoji image styles, so I've programmed one.


Completed & Planned Features 🧑‍💻

  • ✔️ Completed
  • ❌ In Development

  • ✔️ Basic emoji information scraping
  • ✔️ Multiple emoji images support
  • ❌ Optimized Category class support
  • Style class

Requirements 📥

  • Python >= 3.6
  • PIL >= 5.1 (optional)
  • requests >= 2.12.5
  • emoji

Installation 🖥️

  1. GitHub Method (recommended)
    1. Clone the repository.
      git clone https://github.com/kubinka0505/auepa
      cd auepa
    2. Go to Files directory and install.
      cd Files
      python setup.py install
  2. pip Method
    1. Type into CMD: python -m pip install auepa

Usage 📝

>>> import auepa
>>>
>>> # Get an emoji character & its description from EmojiPedia.
>>> Emote = auepa.Emoji(":snake:").unicode
>>> Description = auepa.Meta.Emoji(Emote).description
>>>
>>> # Print the emoji aliases
>>> print(auepa.Meta.Emoji(Emote).aliases)
['Serpent', 'Snake']
>>>
>>> # Print the emoji description.
>>> print(Description)
A snake, a slithering reptile without limbs. Generally depic...
>>>
>>> # Get an emoji image from Windows 10.
>>> auepa.Utils.get_image(
...     Emote,
...     {"windows": "10"} #1
...     )
'https://emojipedia-us.s3.dualstack.us-west-1.amazonaws.com/...

¹ - Styles list are available here.

Meta Info ℹ️

Disclaimer ⚠️

All versions of this project have been made on:

  • Windows 7 (64-bit)
  • Python 3.7.5

In case of problems create issue.