I am new in roblox API, i am playing around for the Presence V1 api. I try to use python to play around. I found that dont know why there are lot of return data are None
import json
import requests
headers = {
'Content-Type': 'application/json',
'Accept': 'application/json',
}
data = {
"userIds": [
1
]
}
response = requests.post('https://presence.roblox.com/v1/presence/users', headers=headers, data=json.dumps(data))
jsonResponse = response.json()["userPresences"][0]
print(jsonResponse)
This is my code, i try the “Roblox” account but here is the result
{'userPresenceType': 0, 'lastLocation': 'Website', 'placeId': None, 'rootPlaceId': None, 'gameId': None, 'universeId': None, 'userId': 1}
Why most of the data is None???