Results 1 to 1 of 1
  1. #1
    Th3Nigh7mare's Avatar
    Join Date
    Aug 2020
    Gender
    male
    Posts
    2
    Reputation
    10
    Thanks
    0

    Red face About API: Shrine, config and other stuff related to the API from STEAM

    I'm trying to request:

    Shrine: steam.live.bhvrdbd.com/api/v1/extensions/shrine/getAvailable (POST)
    Config: steam.live.bhvrdbd.com/api/v1/config (GET)
    Currencies: steam.live.bhvrdbd.com/api/v1/wallet/currencies (GET)
    Outfits: steam.live.bhvrdbd.com/api/v1/extensions/store/getOutfits (POST)

    Code:
    USER_AGENT = "DeadByDaylight/++DeadByDaylight+Live-CL-329560 Windows/10.0.19041.1.768.64bit"
    
    def login(branch, version):
          
            req = URL + /api/v1/auth/login/guest
            body = { "clientData": {"catalogId": selectedVersion, "gameContentId": selectedVersion, "consentId": selectedVersion }}
            cookie_jar = requests.post(req, headers={"User-Agent": USER_AGENT, 'x-kraken-content-secret-key': KEY}, json=body, verify=False).cookies
            return requests.utils.dict_from_cookiejar(cookie_jar)
    
    
    if shrine:
    res = requests.post(url, cookies=session_cookie, json={"data":{"version":"steam"}}, headers={'x-kraken-client-platform': 'steam'}, verify=False).json()
    
    elif outfits:
    res = requests.post(url, cookies=session_cookie, json={"data":{}}, verify=False).json()
    
    else:
    res = requests.get(url, cookies=session_cookie, verify=False).json()
    A few days ago it worked for me, but I don't know what they have changed, if someone could help me, I appreciate it, I get error 403. Could someone with time take a look at it? Thank you!
    Last edited by Th3Nigh7mare; 04-22-2023 at 07:04 PM.