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
The following code does't work when the parameter 'lang' changes. Only English results are shown.