![]() ![]() Run python runner.py, nosetests, python setup.py nosetests or python setup.py test to run all tests in one batch. username )Įxamine the TheNounProjectAPI documentation for more examples of what can be done with TheNounProjectAPI. tags )) print ( "Uploader's username:", icon. term ) print ( "This icon's tags:", ", ". get_icons_by_term ( "goat", public_domain_only = True, limit = 2 ) # >icons # for icon in icons : print ( "Icon's term:", icon. # See the Documentation for more information: from TheNounProjectAPI import API if _name_ = "_main_" : # API Key and Secret from key = "" secret = "" # Create api object api = API ( key = key, secret = secret ) # See the documentation for more endpoints icons = api. It's strongly encouraged to use the documentation's Getting started section to get started, as it's tied to the rest of the documentation, allowing you to quickly find exactly what you need. Designers from more than 120 countries have contributed icons to the community. Now, more than a decade later, Noun Project has one of the largest free icon collections on the web. Its goal was to build a global visual language that could unite the world. You can also install TheNounProjectAPI directly from github using: pip install -upgrade įor help with installing Python and/or pip, see "The Hitchhiker's Guide to Python" Installation Guides The Noun Project was founded in late 2010 as a Kickstarter project. The recommended method of installation is via pip. TheNounProjectAPI is supported on Python 3.7+. Documentation for this wrapper can be found here, while the official documentation of the API itself may be found here. It supports all endpoints and types of responses. TheNounProjectAPI is a Python wrapper allowing convenient access to the Noun Project API.
0 Comments
Leave a Reply. |