title: How do I fix the TypeError: __init__() got an unexpected keyword argument 'errorHandling'
body: <p>I am building a League of Legends website/application for my CS capstone and I am already stuck pulling data from the API.
  Here is the code:</p>
  <pre><code>pip install pantheon
  
  from pantheon import pantheon
  import asyncio
  
  server = &quot;euw1&quot;
  api_key = &quot;RGAPI-XXXXX&quot; #(api_key is personal and shouldnt be shared)
  
  def requestsLog(url, status, headers):
      print(url)
      print(status)
      print(headers)
  
  panth = pantheon.Pantheon(server, api_key, errorHandling=True, requestsLoggingFunction=requestsLog, debug=True)
  
  async def getSummonerId(name):
      try:
          data = await panth.getSummonerByName(name)
          return (data['id'],data['accountId'])
      except Exception as e:
          print(e)
  
  
  async def getRecentMatchlist(accountId):
      try:
          data = await panth.getMatchlist(accountId, params={&quot;endIndex&quot;:10})
          return data
      except Exception as e:
          print(e)
  
  async def getRecentMatches(accountId):
      try:
          matchlist = await getRecentMatchlist(accountId)
          tasks = [panth.getMatch(match['gameId']) for match in matchlist['matches']]
          return await asyncio.gather(*tasks)
      except Exception as e:
          print(e)
  </code></pre>
  <p>And here is the error when I run it in Visual Studio Code (Python 3.9.10 64 bit)</p>
  <pre><code>TypeError                                 Traceback (most recent call last)
  c:\Users\maase\Downloads\apipantheon.ipynb Cell 4' in &lt;cell line: 12&gt;()
        9     print(status)
       10     print(headers)
  ---&gt; 12 panth = pantheon.Pantheon(server, api_key, errorHandling=True, requestsLoggingFunction=requestsLog, debug=True)
       14 async def getSummonerId(name):
       15     try:
  
  TypeError: __init__() got an unexpected keyword argument 'errorHandling'
  </code></pre>
  <p>Do I have to import or install something to fix this?</p>