Skip to content

Multi language support does't work. #53

Description

@venuswu

The following code does't work when the parameter 'lang' changes. Only English results are shown.

import io
import json
from yelp.client import Client
from yelp.oauth1_authenticator import Oauth1Authenticator

with io.open('config_secret.json') as cred:
    creds = json.load(cred)
    auth = Oauth1Authenticator(**creds)
    client = Client(auth)

    params = {
          'lang' : 'cn'
    }
    response = client.get_business('yelp-san-francisco', **params)
    print response.business.name
    print response.business.categories

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions