Hi I want to send a query to my moralis server to see the details of the users who have interacted with my website, such as their ethereum account addresses, I was looking through the docs and found this
import json,httplib
connection = httplib.HTTPSConnection('YOUR.PARSE-SERVER.HERE', 443)
connection.connect()
connection.request('GET', '/parse/classes/GameScore', '', {
"X-Parse-Application-Id": "${APPLICATION_ID}",
"X-Parse-REST-API-Key": "${REST_API_KEY}"
})
result = json.loads(connection.getresponse().read())
print result
I tried to follow that code example, pip install httplib returned an error:
Note: you may need to restart the kernel to use updated packages.
ERROR: Could not find a version that satisfies the requirement httplib (from versions: none)
ERROR: No matching distribution found for httplib
and when I tried to run it without pip I got the following error:
ModuleNotFoundError: No module named ‘httplib’
Whats the problem here? Am I doing the right thing? Are the docs out of date? As stated, I want to query the moralis server to return the database for the users that interacted with my website (then I will use pandas to process the data).