When I tried to create an API object by passing in a token into GitHubAPI, I got the following error message:
Traceback (most recent call last):
File "scraper_test.py", line 10, in <module>
api = stscraper.GitHubAPI(tokens='<input token>')
File "/data2/cassandra/stscraper/base.py", line 150, in __new__
cls._instance = super(VCSAPI, cls).__new__(cls, *args, **kwargs)
TypeError: object() takes no parameters
import pandas as pd
import stscraper
import stutils
if __name__ == "__main__":
api = stscraper.GitHubAPI(tokens='<insert token>')