title: Google Analytics Batch API to batch Google Analytics Core Reporting API
body: <p>I am trying to use <a href="https://developers.google.com/api-client-library/python/guide/batch" rel="nofollow noreferrer">batch api</a> in python for batching <a href="https://developers.google.com/analytics/devguides/reporting/core/v4/" rel="nofollow noreferrer">google analytics reporting api V4</a> calls I had already ran following command multiple times:</p>
  
  <pre><code>pip install --upgrade google-api-python-client
  </code></pre>
  
  <p>But still getting error When running the below part of code:</p>
  
  <pre><code>service = build('farm', 'v2')
  </code></pre>
  
  <p><strong>ERROR:</strong>
  Exception has occurred: googleapiclient.errors.UnknownApiNameOrVersion name: farm version: v2</p>
  
  <p>I believe i am missing some pip command to install the right python package.</p>