tectors / epicgraphql Goto Github PK
View Code? Open in Web Editor NEWResearch about the Epic's non-documented Graphql API and main API, using Fiddler and Developer Tools to find requests and add them.
License: MIT License
Research about the Epic's non-documented Graphql API and main API, using Fiddler and Developer Tools to find requests and add them.
License: MIT License
Not sure if on purpose:
Hello!
I started working on my own little program that monitors the online status of my friend groups. Is it possible to retrieve whether someone I am friends with is online on Fortnite using GraphQL?
So far, I am exploring (using fiddler classic) some graphql endpoints and have seen the following (abbreviated) query that may be what I am looking for:
query friends($displayNames: Boolean) {
Friends {
summary(displayNames: $displayNames) {
friends {
account {
id
displayName
displayNameType
externalAuths {
type
externalAuthId
externalAuthIdType
externalDisplayName
authIds {
id
type
__typename
}
__typename
}
__typename
}
__typename
}
incoming {
account {
id
displayName
displayNameType
externalAuths {
type
externalAuthId
externalAuthIdType
externalDisplayName
authIds {
id
type
__typename
}
__typename
}
__typename
}
__typename
}
outgoing {
account {
id
displayName
displayNameType
externalAuths {
type
externalAuthId
externalAuthIdType
externalDisplayName
authIds {
id
type
__typename
}
__typename
}
__typename
}
__typename
}
blocklist {
account {
id
displayName
displayNameType
externalAuths {
type
externalAuthId
externalAuthIdType
externalDisplayName
authIds {
id
type
__typename
}
__typename
}
__typename
}
__typename
}
__typename
}
__typename
}
}
Sorry for the bad formatting. There are four items under summary: friends, incoming, outgoing, blocked. They mostly share the same fields. I have tried poking around and guessing what the online status would be called. I have tried "isLoggedOn" and "minorStatus". They are legitimate fields but not what I am looking for. "isOnline" and "status" do not work.
So is possible to find the online status of friends? Maybe it's not available via graphql?
Thank you!
Hey :)
Let me start with saying that it's really great to have those resources available here, good job ๐
I have a question about quering epic games with graphql: Catalog -> searchStore
I'm using the following query:
query {
Catalog {
searchStore(
locale: "en-US"
category: "games/edition/base"
country: "PL"
sortBy: "releaseDate"
sortDir: "DESC"
start: 1699
count: 1
) {
elements {
title
id
releaseDate
namespace
description
effectiveDate
keyImages {
type
url
}
currentPrice
seller {
id
name
}
productSlug
urlSlug
url
tags {
id
}
items {
id
namespace
}
customAttributes {
key
value
}
categories {
path
}
catalogNs {
mappings(pageType: "productHome") {
pageSlug
pageType
}
}
offerMappings {
pageSlug
pageType
}
}
}
}
}
GraphQL schema provided in this github page works, but i'm trying to get some more info about the game im quering, stuff like:
I've tried getting schema by
{
__schema {
queryType {
fields {
name
}
}
}
}
but it seems like they have this feature turned off.
I've tried to guess the schema, fields like 'requirements', 'system', 'technicalDetails' ect. but i can't seem to be able to get those.
I'm fairy certain that this info exists in schema (based on the fact that it is displayed in the store web page).
What do You think can i do to make some progress in this?
PS.
Your discord link is expired i think :-)
It kinda bothers me enough to make an issue about it. I think this is how most would write GraphQL. Also, I have a collection epicgames graphql queries and mutations from 2020, I could share with you. DM me, if you want: revadike[at]outlook[dot]com.
Apparently, some people have been able to get upcoming promotions using the API.
This should allow to have a peek at upcoming free games.
I imagine this is done with https://github.com/Tectors/EpicGraphql/blob/main/docs/graphql/catalog/searchStoreQuery.graphql
However, when I try, e.g. with this request:
then:
403 Forbidden
errors"{"errorCode":"errors.com.epicgames.common.missing_permission","errorMessage":"Sorry your login does not posses the permissions 'priceengine:shared:promotionrule READ' needed to perform the requested operation","messageVars":["priceengine:shared:promotionrule","READ"],"numericErrorCode":1023,"originatingService":"com.epicgames.priceengine.public","intent":"prod","errorStatus":403}"
promotions
are null
.I think this is what you warned about in https://github.com/Tectors/EpicGraphql/tree/main/docs/graphql#authorization
I have only discovered your repository now so I need to try what you mention in the README regarding the authorization.
Before that, I was:
Would you have any idea how upcoming promotions could be accessed despite the authorization error?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.