read yelp api response
<p>Iam new to python &amp; API searches. I am having issues reading yelp API responses in python. any help would be great. thanks.</p>

<pre><code>&gt; params = {
&gt;     'term': 'lunch,pancakes' } 

&gt; response=client.search('Los Angeles',**params) 
</code></pre>

<p>Here is the output:</p>

<pre><code>&lt;yelp.obj.search_response.SearchResponse object at 0x138ad7a58&gt;
</code></pre>

<p><code>SearchResponse</code> contains the <code>businesses</code> list that will match your term [1].</p>

<p>Try this:</p>

<pre><code>for business in response['businesses']:
     print(business['name'])
</code></pre>

<p>[1] <a href="https://www.yelp.com/developers/documentation/v2/search_api" rel="nofollow">https://www.yelp.com/developers/documentation/v2/search_api</a></p>

python api yelp