LeleDerGrasshalmi / FortniteEndpointsDocumentation

Fortnite & Epic Games Unofficial API Documentation
233 stars 65 forks source link

Capture #267

Closed Er1onn closed 4 months ago

Er1onn commented 4 months ago

Issue Checklist

What is your question?

Hello, i have faced some issues before with my script but i managed to fix that somehow and script is working but the part that i request the capture is not working. Im using this api: https://account-public-service-prod03.ol.epicgames.com/account/api/accounts/:accountId/metadata

i dont know anymore what to do if u could help me with a new api cuz maybe im using wrong one! thank you

LeleDerGrasshalmi commented 4 months ago

Hi,

  1. This API is not a "Capture"???
  2. Maybe show us the request and response you get
Er1onn commented 4 months ago

i don't think if u can understand because i am not a language but a script of an app

capture REQUEST GET "https://account-public-service-prod03.ol.epicgames.com/account/api/accounts/:accountId/metadata"

HEADER "Authorization: 369ff24b-deab-4d89-b91a-b3b3b4e5828f" HEADER "User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36" HEADER "Pragma: no-cache" HEADER "Accept: /"

KEYCHECK KEYCHAIN Success OR KEY "" Contains "200" KEYCHAIN Custom "FREE" OR KEY "the requested profile didnt play any match yet" KEYCHAIN Failure OR KEY "the requested account does not exist" KEYCHAIN Retry OR KEY "\"status\":500" KEYCHAIN Success OR KEY "the requested account's stats are not public"

id PARSE "" LR "{\"id\":\"" "\",\"" -> VAR "ID"

PARSE "" LR "\"battlePass\":{\"level\":" ",\"" CreateEmpty=FALSE -> CAP "Battle Pass Level"

PARSE "" LR "\"wins\":" ",\"" CreateEmpty=FALSE -> CAP "Total Wins"

PARSE "" LR ",\"kills\":" ",\"" CreateEmpty=FALSE -> CAP "Total Kills"

PARSE "" LR "\"matches\":" ",\"" CreateEmpty=FALSE -> CAP "Total Matches"

PARSE "" LR "\"lastModified\":\"" "T" CreateEmpty=FALSE -> CAP "Last Login"

LeleDerGrasshalmi commented 4 months ago

That's NOT how you authenticate...

You mixed fortnite-api.com stats with epic games unofficial API.

Checkout the getting started guide in this repo https://github.com/LeleDerGrasshalmi/FortniteEndpointsDocumentation/tree/main/EpicGames/AccountService/Authentication#getting-started

LeleDerGrasshalmi commented 4 months ago

closing as stale