MixV2 / EpicResearch

Research about Epic Games' non-documented API
350 stars 84 forks source link

Will be there docs about downloading/getting list of games? #11

Closed TheRadioGuy closed 4 years ago

MixV2 commented 4 years ago

List of games as in the ones you own or all games that are on EGS?

TheRadioGuy commented 4 years ago

Yep, the games I own

MixV2 commented 4 years ago

I'll add it at some point, but for now here's the endpoint that allows you to do it: https://launcher-public-service-prod.ol.epicgames.com/launcher/api/public/assets/Windows?label=Live (replacing Windows with whatever platform you want to get the games for)

Make sure to authenticate with launcherAppClient2.

TheRadioGuy commented 4 years ago

Thanks! And how does downloading mechanism work?

MixV2 commented 4 years ago

Not going to document the downloading process, I suggest you check out the source code of https://github.com/Allar/ue4-mp-downloader and https://github.com/WorkingRobot/FortniteDownloader to get a good understanding of the entire process

TheRadioGuy commented 4 years ago

Thanks anyway, another question: What did I do wrong?

image

MixV2 commented 4 years ago

You have to encode the client ID + secret in Base64 in the format of clientId:secret and pass it into the Authorization header. So for example with fortnitePCGameClient, the Authorization header would look like:

basic ZWM2ODRiOGM2ODdmNDc5ZmFkZWEzY2IyYWQ4M2Y1YzY6ZTFmMzFjMjExZjI4NDEzMTg2MjYyZDM3YTEzZmM4NGQ=

TheRadioGuy commented 4 years ago

Huh, thanks

TheRadioGuy commented 4 years ago

Sorry to bother you, but which client does support grant_type password?

MixV2 commented 4 years ago

none, it was deprecated