Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

api is broken? How to deal xbl-api #16

Open
ghost opened this issue Aug 12, 2022 · 8 comments
Open

api is broken? How to deal xbl-api #16

ghost opened this issue Aug 12, 2022 · 8 comments

Comments

@ghost
Copy link

ghost commented Aug 12, 2022

api is broken? How to deal xbl-api

@Luluno01
Copy link
Owner

Luluno01 commented Aug 12, 2022

I don't host xbl-api.prouser123.me, nor any instance of xbl-web-api. But yes, xbl-api.prouser123.me is broken as the time I make this reply. If it is a problem of xbl-api.prouser123.me (that particular instance), not xbl-web-api itself (e.g., MS has changed its API, therefore broke xbl-web-api), you can try deploying your own instance of xbl-web-api, and instruct BSG to use your deployment by replacing xbl-web-api: https://xbl-api.prouser123.me/ with xbl-web-api: <the address to your deployment>.

@Luluno01
Copy link
Owner

I can't find the installation instruction of xbl-web-api now, but I remember it requires an XBOX account to do the query. I saw this requirement on their README but now it's gone, somehow.

@ghost
Copy link
Author

ghost commented Aug 18, 2022

difficult to build xbl-web-api in my host server

@Luluno01
Copy link
Owner

I have tested, self-hosted server is working fine. Please first clone xbl-web-api and install its dependencies (pip install -r requirements.txt), and then follow the instructions here: Xbox-WebAPI (this is a dependency you installed in the first step), make sure you have obtained Azure client ID and secret; with that credential, you then continue following the instructions in Xbox-WebAPI to generate a tokens.json file. Finally, setup proper environment variables in .env file (see main.py) and spin up the server: python server.py.

@Luluno01
Copy link
Owner

Maybe you should open an issue in xbl-web-api for a full deployment instruction.

@BensaTV
Copy link

BensaTV commented Aug 1, 2024

the api seems to be dead. cant you just use floodgate api to get the uuid?

@Luluno01
Copy link
Owner

Luluno01 commented Aug 1, 2024

the api seems to be dead. cant you just use floodgate api to get the uuid?

If you don't mind using the API that I host, change xbl-web-api: https://xbl-api.prouser123.me/ to xbl-web-api: https://xbl-web-api.int-max.eu.org/ as a temporary workaround. Note that my deployment comes with absolutely no warranty in any form. The uptime of my deployment is not guaranteed, too.


I remember floodgate, and I didn't choose it for a good reason that I can't remember now XD.

@BensaTV
Copy link

BensaTV commented Aug 2, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants