22[ ![ Build Status] ( https://travis-ci.org/bcongdon/python-emojipedia.svg?branch=master )] ( https://travis-ci.org/bcongdon/python-emojipedia ) 
33[ ![ Code Climate] ( https://codeclimate.com/github/bcongdon/python-emojipedia/badges/gpa.svg )] ( https://codeclimate.com/github/bcongdon/python-emojipedia ) 
44[ ![ PyPI version] ( https://badge.fury.io/py/Emojipedia.svg )] ( https://badge.fury.io/py/Emojipedia ) 
5+ [ ![ Test Coverage] ( https://codeclimate.com/github/bcongdon/python-emojipedia/badges/coverage.svg )] ( https://codeclimate.com/github/bcongdon/python-emojipedia/coverage ) 
56> Emoji data from Emojipedia :sunglasses : 
67
78## Installation:  
@@ -22,22 +23,45 @@ from emojipedia import Emojipedia
2223taco = Emojipedia.search('taco') 
2324
2425# Emojipedia description 
25- print  taco.description # "A taco; a Mexican food item displayed with a variety of fillings. ..." 
26+ print( taco.description)   # "A taco; a Mexican food item displayed with a variety of fillings. ..." 
2627
2728# Emojipedia codepoints 
28- print  taco.codepoints # "U+1F32E" 
29+ print( taco.codepoints)   # "U+1F32E" 
2930
3031# Emojipedia listed platforms  
3132# Contains title, Emojipedia platform url, and platform specific emoji img url 
3233platforms = taco.platforms  
33- print  platforms[0] # {'title': 'Apple', 'platform_url': '...', 'platform_img': '...'} 
34+ print( platforms[0])   # {'title': 'Apple', 'platform_url': '...', 'platform_img': '...'} 
3435
3536joy = Emojipedia.search('face-with-tears-of-joy') 
3637# Emoji shortcodes 
37- joy.shortcodes # ":joy:" 
38+ joy.shortcodes   # ":joy:" 
3839
3940# Search for emoji by emoji 
4041smirk = Emojipedia.search('😏') 
4142# Custom Emoji string preview 
42- print str(smirk) # <Emoji - 'Smirking Face' - character: 😏, description: A sly smile, often u...> 
43+ print(str(smirk))  # <Emoji - 'Smirking Face' - character: 😏, description: A sly smile, often u...> 
44+ 
45+ # Get a category of emoji 
46+ people = Emojipedia.category('people') 
47+ people[0].title  # <Emoji - 'Grinning Face' - character: 😀, description: A face with a big op...> 
48+ print(len(people))  # 306 
49+ 
50+ # Get all the emoji 
51+ emojis = Emojipedia.all() 
52+ print(len(emojis))  # 2621 
53+ for emoji in emojis: 
54+     print(emoji.title) 
4355``` 
56+ 
57+ ## Contributing  
58+ 
59+ Contributions to ` python-emojipedia `  are welcomed! 😁
60+ 
61+ 1 .  Fork the repo.
62+ 2 .  Create a new feature branch.
63+ 3 .  Add your feature / make your changes.
64+ 4 .  Install [ pep8] ( https://pypi.python.org/pypi/pep8 )  and run ` pep8 *.py `  in the root project directory to lint your changes. Fix any linting errors.
65+ 5 .  Create a PR.
66+ 6 .  ???
67+ 7 .  🎉 Profit. 🎉
0 commit comments