does it support the isle evrima server? #11
Unanswered
bilal-the-dev
asked this question in
Q&A
Replies: 1 comment
-
Yes, use EOS Protocol. from opengsq.protocols.eos import EOS Example: import asyncio
import json
async def main_async():
# The Isle - EVRIMA
client_id = 'xyza7891gk5PRo3J7G9puCJGFJjmEguW'
client_secret = 'pKWl6t5i9NJK8gTpVlAxzENZ65P8hYzodV8Dqe5Rlc8'
deployment_id = '6db6bea492f94b1bbdfcdfe3e4f898dc'
grant_type = 'client_credentials'
external_auth_type = ''
external_auth_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,
)
matchmaking = await EOS.get_matchmaking(deployment_id, access_token)
print(
json.dumps(matchmaking, indent=None, default=lambda dc: dc.__dict__) + "\n"
)
eos = EOS(
host="144.126.153.89",
port=10800,
deployment_id=deployment_id,
access_token=access_token,
timeout=5.0,
)
info = await eos.get_info()
print(json.dumps(info, indent=None, default=lambda dc: dc.__dict__) + "\n")
asyncio.run(main_async()) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
same as title, i tried querying but its returning error. Is the isle evrima supported?
Beta Was this translation helpful? Give feedback.
All reactions