Upload files to "/"

This commit is contained in:
b016488d-939a-4910-a596-93b77fc9ab9c
2026-07-24 15:24:32 +00:00
commit 99bb20a1e9
5 changed files with 346 additions and 0 deletions

32
give.py Normal file
View File

@@ -0,0 +1,32 @@
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)