Skip to content

'Client' object has no attribute 'business' #79

@forest44

Description

@forest44

Hello,

I try the following python code copied from this site:
from yelp.client import Client

MY_API_KEY = 'xxxx'

client = Client(MY_API_KEY)
business_response = client.business.get_by_id('yelp-san-francisco')

Then, I have the error "'Client' object has no attribute 'business'".
Any idea why the given code doesn't work?
Thanks for your help.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions