Metadata-Version: 2.1
Name: ezapi_yelp
Version: 0.4.4
Summary: A Python wrapper for Yelp API
Home-page: https://github.com/zehengl/ezapi-yelp
Author: Zeheng Li
Author-email: imzehengl@gmail.com
Maintainer: Zeheng Li
Maintainer-email: imzehengl@gmail.com
License: MIT
Description: <div align="center">
            <img src="https://cdn3.iconfinder.com/data/icons/data-sharing-and-cloud-lineal-style/512/apiprogrammingdevolperinterfaceappcomputer-512.png" alt="logo" height="196">
            <img src="https://cdn2.iconfinder.com/data/icons/social-media-applications/64/social_media_applications_28-yelp-512.png" alt="yelp" height="96">
        </div>
        
        # ezapi-yelp
        
        ![pytest](https://github.com/zehengl/ezapi-yelp/workflows/pytest/badge.svg)
        [![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/ambv/black)
        ![PyPI - License](https://img.shields.io/pypi/l/ezapi-yelp.svg)
        ![PyPI - Python Version](https://img.shields.io/pypi/pyversions/ezapi-yelp.svg)
        [![PyPI](https://img.shields.io/pypi/v/ezapi-yelp.svg)](https://pypi.python.org/pypi/ezapi-yelp)
        [![Downloads](https://pepy.tech/badge/ezapi-yelp)](https://pepy.tech/project/ezapi-yelp)
        
        A Python wrapper for [Yelp Fusion API](https://www.yelp.com/developers/documentation/v3/get_started)
        
        ## Install
        
            pip install ezapi-yelp
        
        ## Test
        
            git clone git@github.com:zehengl/ezapi-yelp.git
            export token="..."
            cd ezapi-yelp
            python setup.py test
        
        Use `$Env:token="..."` to set the api key environment variable on Windows.
        
        ## Usage
        
            from yelp import YelpFusion
        
            token = "..."
        
            yelp_fusion = YelpFusion(token)
        
            print(yelp_fusion.business_search(location="San Francisco"))
            print(yelp_fusion.transaction_search("delivery", location="San Francisco"))
            print(yelp_fusion.business_details("WavvLdfdP6g8aZTtbBQHTw"))
            print(
                yelp_fusion.business_match(
                    name="Gary Danko",
                    address1="800 N Point St",
                    city="San Francisco",
                    state="CA",
                    country="US",
                )
            )
            print(yelp_fusion.reviews("WavvLdfdP6g8aZTtbBQHTw"))
            print(
                yelp_fusion.autocomplete(
                    text="Gary Danko", latitude=37.80587, longitude=-122.42058
                )
            )
            print(yelp_fusion.all_categories())
            print(yelp_fusion.category_details("hotdogs"))
            print(yelp_fusion.event_lookup("oakland-saucy-oakland-restaurant-pop-up"))
            print(yelp_fusion.event_search(location="Oakland"))
            print(yelp_fusion.featured_event(location="Oakland"))
        
        <hr>
        
        <sup>
        
        ## Credits
        
        - [Icon][1] by [Photolio][2]
        
        - [Icon][3] by [tulpahn][4]
        
        </sup>
        
        [1]: https://www.iconfinder.com/icons/4904814/api_app_computer_devolper_interface_programming_icon
        [2]: https://www.iconfinder.com/Muhammad_Auns
        [3]: https://www.iconfinder.com/icons/4102600/applications_media_social_yelp_icon
        [4]: https://www.iconfinder.com/tulpahn
        
Keywords: Yelp Fusion
Platform: UNKNOWN
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Description-Content-Type: text/markdown
