for index,project in enumerate(libraries[:2]):
makeUrl = f'https://libraries.io/api/Pypi/{project["project"]}?api_key=598f29e15e3a1e7ac5df0b0b43b67711'
print(f'url : {makeUrl}')
tempData = requests.get(makeUrl).json()
tempDict = {};
dataArry = ['name','dependent_repos_count','dependents_count','description','forks','keywords','stars','rank','repository_url','versions']
for key in dataArry:
tempDict[key] = tempData.get(key)
print(tempDict)
with open('myDataRev01.json','a') as outFile:
json.dump(tempDict,outFile)
print(f'the Index is {index} and project is {project}')
time.sleep(2)