enverus-ea / enverus-developer-api

Enverus Developer API Python Client
MIT License
19 stars 16 forks source link

Error: 'unexpected keyoword arguement 'allowed_methods) #28

Open romanme2 opened 1 year ago

romanme2 commented 1 year ago

Hi, I get the error for both V3 and V2, please advise on what the correct code would be.

from enverus_developer_api import DeveloperAPIv3

v3 = DeveloperAPIv3(secret_key='SECRET')

Screenshot 2023-08-02 130635

joseramosenverus commented 1 year ago

I can’t reproduce it(I use python 3.11), but it can be related to python version 3.8 and urllib 1.26.14

I found this article - https://developer.squareup.com/forums/t/python-3-8-10-error-got-an-unexpected-keyword-argument-allowed-methods/8528

Can you please try updating your python version?