Start a new topic

Error when using python Scrapinghub library (ScrapinghubClient)

Code I'm trying to run in python:


from scrapinghub import ScrapinghubClient

apikey = '*****************************************' # your API key as a string

client = ScrapinghubClient(apikey)

print(client.projects.list())


Error:

raise JSONDecodeError("Expecting value", s, err.value) from None

json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)


Expected output:

project lists


Login to post a comment