{ "info": { "author": "Algueem", "author_email": "", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python :: 3.6" ], "description": "# DiscordEmojiPy - DiscordEmoji API Wrapper for Python\n## Documentation\n\n### English\n\n#### Installation\n\n```\npip install demojipy\n```\n\n\n#### Search:\n```python\nfrom DEmojiPython import DEmoji\n\nDEmoji.attr()\n```\n\nAvailable attributes: \n\nAttribute | Parameters | Return | Description\n-------- | -------- | -------- | --------\nsearch_by_id() | emojiid: int | dict | Fetch DiscordEmoji's Emoji by id\nsearch_by_name() | name: str | dict | Fetch DiscordEmoji's Emoji by name\nsearch_by_author() | author: str | list[dict] | Fetch DiscordEmoji's Emojis submitted by an user\nsearch_emojis() | search: str, startswith: bool | list[dict] | Fetch emojis you want to search, specifying whether search will be by the beginning of the word (default) or not (by specifying False in the startswith parameter)\nstats() | None | dict | Fetch DiscordEmoji's stats\npacks() | None | list[dict] | Fetch DiscordEmoji's emoji packs\n\n### Examples:\n```python\nfrom DEmojiPython import DEmoji\n# Code\nDEmoji.search_by_id(1)\n# Response\n{'id': 1, 'title': 'zombie', 'slug': 'zombie', 'image': 'https://discordemoji.com/assets/emoji/zombie.png', ...}\n\n# Code\nDEmoji.search_by_name('zombie') # must be case insensitive\n# Response:\n{'id': 1, 'title': 'zombie', 'slug': 'zombie', 'image': 'https://discordemoji.com/assets/emoji/zombie.png', ...}\n\n# Code\nDEmoji.search_by_author('Kohai') # must be case insensitive\n# Response\n[{'title': 'emoji', 'submitted_by': 'Kohai'},\n{'title': 'emojiTwo', 'submitted_by': 'Kohai'}...]\n\n# Code\nDEmoji.search_emojis('PR_', startswith=True)\n# Response\n[{'id': 3830, 'title': 'PR_bug', ...}, ...]\n# If not found, returns None\n\n\n# Code\nDEmoji.stats()\n# Response:\n{\"emoji\": int,\"users\": int,\"faves\": int,\"pending_approvals\": int}\n\n# Code\nDEmoji.packs()\n#Response:\n[{\"id\":2,\"name\":\"Anime Pack #1\", ...}, ...]\n```\n\nMore attributes are coming soon...\n\nIf there is any grammar error call me at Discord: Alguem#1599\n\n## ChangeLog\n### v2.0.1\n- Fix cache bug\n### v2.0.0\n- [X] Add site urls in dicts\n- Change aiohttp to requests again(because very bugs)\n- Added parameter \"startswith\" in \"search_emojis\"(specifies whether search will be by the beginning of the word or not)\n- Added Packs attribute\n- Added cache system, to avoid making too many requests for api.\n### v2.0.0a\n- Change requests to aiohttp(testing) \n- Added Packs attribute(Testing)\n\n## Future Updates\n- [ ] Add categories", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/Algueem/DiscordEmojiPy", "keywords": "pydemoji,discordemoji", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "demojipy", "package_url": "https://pypi.org/project/demojipy/", "platform": "", "project_url": "https://pypi.org/project/demojipy/", "project_urls": { "Homepage": "https://github.com/Algueem/DiscordEmojiPy" }, "release_url": "https://pypi.org/project/demojipy/2.0.1/", "requires_dist": null, "requires_python": "", "summary": "Python Wrapper for DiscordEmoji API", "version": "2.0.1" }, "last_serial": 5393739, "releases": { "1.1": [ { "comment_text": "", "digests": { "md5": "097b6dd1feeca2d732c649e967569b27", "sha256": "95e4a3f741b6339ac550bb4c33d10198bd7433948cc47cb65e8ba646d628a7b6" }, "downloads": -1, "filename": "demojipy-1.1.tar.gz", "has_sig": false, "md5_digest": "097b6dd1feeca2d732c649e967569b27", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2278, "upload_time": "2019-05-13T14:04:58", "url": "https://files.pythonhosted.org/packages/34/fc/8f8f95d82349e4afcf6012b486028e4f46ff67b1bc816c70fb018d5591a7/demojipy-1.1.tar.gz" } ], "1.2.0": [ { "comment_text": "", "digests": { "md5": "36d79f3d37a5a007cbde0fe32de95986", "sha256": "2df5f95c36d8e8a101c28807ac1e81c2e04e0c604b650c67652aff67b3bf6079" }, "downloads": -1, "filename": "demojipy-1.2.0.tar.gz", "has_sig": false, "md5_digest": "36d79f3d37a5a007cbde0fe32de95986", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2450, "upload_time": "2019-05-15T14:44:31", "url": "https://files.pythonhosted.org/packages/45/c4/ae1b566ffcee329fe7be20b197c8b7aedd60f0fb77710aa30d08e675db74/demojipy-1.2.0.tar.gz" } ], "1.3.0": [ { "comment_text": "", "digests": { "md5": "44ac0554601669eab0edc4b1f1fc4ccd", "sha256": "d84f1d16e5ee1412913b34c0ee53abe06b8bc5411d7c7dd7b01d1a87e0fc5465" }, "downloads": -1, "filename": "demojipy-1.3.0.tar.gz", "has_sig": false, "md5_digest": "44ac0554601669eab0edc4b1f1fc4ccd", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2914, "upload_time": "2019-05-15T14:53:57", "url": "https://files.pythonhosted.org/packages/32/98/5374fb65df9f51e28eef8a312b03a244620da432fb391016b03128b560d7/demojipy-1.3.0.tar.gz" } ], "2.0.0": [ { "comment_text": "", "digests": { "md5": "9f3a636684ad49cf29d412d788fc5b6c", "sha256": "8d4cd90ecd002e5711c7126a3301dd75637ba3a42a2127c2966227034906335d" }, "downloads": -1, "filename": "demojipy-2.0.0.tar.gz", "has_sig": false, "md5_digest": "9f3a636684ad49cf29d412d788fc5b6c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3655, "upload_time": "2019-06-09T21:22:52", "url": "https://files.pythonhosted.org/packages/17/47/24dc4e8e9857be2be77eb13b39fee748fd1978693ec20504cdbca1e885b4/demojipy-2.0.0.tar.gz" } ], "2.0.1": [ { "comment_text": "", "digests": { "md5": "27e5145cc30dd12ea522990282b70fe9", "sha256": "32ab78052e69b32b63bb745a0af53b5914b6644f86cfae1d84e544b8d0a77739" }, "downloads": -1, "filename": "demojipy-2.0.1.tar.gz", "has_sig": false, "md5_digest": "27e5145cc30dd12ea522990282b70fe9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3794, "upload_time": "2019-06-13T01:07:12", "url": "https://files.pythonhosted.org/packages/bc/1d/167522d440e4506f8febe452df40d598af9765e3d81030f6f5d32af8b37c/demojipy-2.0.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "27e5145cc30dd12ea522990282b70fe9", "sha256": "32ab78052e69b32b63bb745a0af53b5914b6644f86cfae1d84e544b8d0a77739" }, "downloads": -1, "filename": "demojipy-2.0.1.tar.gz", "has_sig": false, "md5_digest": "27e5145cc30dd12ea522990282b70fe9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3794, "upload_time": "2019-06-13T01:07:12", "url": "https://files.pythonhosted.org/packages/bc/1d/167522d440e4506f8febe452df40d598af9765e3d81030f6f5d32af8b37c/demojipy-2.0.1.tar.gz" } ] }