Home:
/
:discord://-/
- friends:
discord://-/channels/@me/
- nitro:
discord://-/store
- shop:
discord://-/shop
- message requests:
discord://-/message-requests
- family centre:
discord://-/family-center
There is no endpoint available to fetch inventory. Wait a second ? how does the game fetch user skins, player_cards, buddy, etc? So, After digging into Valorant I found the user inventory.
I created down below a basic python code that fetches the Valorant user inventory.
import request
let spotifyCredentials | |
let widget = await createWidget() | |
Script.setWidget(widget) | |
Script.complete() | |
async function createWidget() { | |
let widget = new ListWidget() | |
let spotifyIcon = await getImage("spotify-icon.png") | |
widget.backgroundColor = new Color("1e2040") |
function triggerKeyboardEvent(el, keyCode, type) | |
{ | |
var eventObj = document.createEventObject ? | |
document.createEventObject() : document.createEvent("Events"); | |
if(eventObj.initEvent){ | |
eventObj.initEvent(type, true, true); | |
} | |
eventObj.keyCode = keyCode; |
#!/usr/bin/env python3 | |
"""Create a recording with arbitrary duration. | |
PySoundFile (https://github.com/bastibe/PySoundFile/) has to be installed! | |
WARNING: This works only in Python 3.x! | |
""" | |
import argparse | |
import tempfile |