Files
b016488d-939a-4910-a596-93b77fc9ab9c 99bb20a1e9 Upload files to "/"
2026-07-24 15:24:32 +00:00

32 lines
543 B
Python

import httpx
import json
playerids = []
gay = ""
with open(gay) as f:
gays = json.load(f)
datas = []
for x in playerids:
for i in gays:
value = {
"RoomKeyId": i["RoomKeyId"],
"AccountId": x
}
datas.append(value)
Authorization = ""
had = {
"Authorization": "Bearer " + Authorization,
"User-Agent": "RRStudio",
}
dd = httpx.post("https://econ.rec.net/api/roomkeys/v1/awardbulk", headers=had, json=datas)
print(dd.status_code)
print(dd.text)