Giter Club home page Giter Club logo

Comments (2)

BattlefieldDuck avatar BattlefieldDuck commented on September 24, 2024

You are required to deconstruct the game’s executable file to access the game-specific credentials.

See: gamedig/node-gamedig#396 (comment)

from opengsq-python.

BattlefieldDuck avatar BattlefieldDuck commented on September 24, 2024

Here are the currently known credentials for the following games:

# The Isle - EVRIMA
client_id = 'xyza7891gk5PRo3J7G9puCJGFJjmEguW'
client_secret = 'pKWl6t5i9NJK8gTpVlAxzENZ65P8hYzodV8Dqe5Rlc8'
deployment_id = '6db6bea492f94b1bbdfcdfe3e4f898dc'
grant_type = 'client_credentials'
external_auth_type = ''
external_auth_token = ''
# Palworld
client_id = "xyza78916PZ5DF0fAahu4tnrKKyFpqRE"
client_secret = "j0NapLEPm3R3EOrlQiM8cRLKq3Rt02ZVVwT0SkZstSg"
deployment_id = "0a18471f93d448e2a1f60e47e03d3413"
grant_type = "external_auth"
external_auth_type = "deviceid_access_token"  # https://dev.epicgames.com/docs/web-api-ref/connect-web-api
external_auth_token = await EOS.get_external_auth_token(
    client_id=client_id,
    client_secret=client_secret,
    external_auth_type=external_auth_type,
)
# Ark: Survival Ascended
client_id = "xyza7891muomRmynIIHaJB9COBKkwj6n"
client_secret = "PP5UGxysEieNfSrEicaD1N2Bb3TdXuD7xHYcsdUHZ7s"
deployment_id = "ad9a8feffb3b4b2ca315546f038c3ae2"
grant_type = "client_credentials"
external_auth_type = ""
external_auth_token = ""

Getting Access Token

access_token = await EOS.get_access_token(
    client_id=client_id,
    client_secret=client_secret,
    deployment_id=deployment_id,
    grant_type=grant_type,
    external_auth_type=external_auth_type,
    external_auth_token=external_auth_token,
)

Retrieving Matchmaking Data

matchmaking = await EOS.get_matchmaking(deployment_id, access_token)

Retrieving Game Info

eos = EOS(
    host="5.62.115.46",
    port=7783,
    deployment_id=deployment_id,
    access_token=access_token,
    timeout=5.0,
)

info = await eos.get_info()

from opengsq-python.

Related Issues (9)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.