在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称(OpenSource Name):antoniojps/graphql-pubg开源软件地址(OpenSource Url):https://github.com/antoniojps/graphql-pubg开源编程语言(OpenSource Language):JavaScript 100.0%开源软件介绍(OpenSource Introduction):- Warning: this project is not being maintained and it's usage is not recommended. GraphQL-pubgPUBG API aggregator on top of GraphQL How to start the server?
GraphQL APIhttp://localhost:9000/graphql . Access GraphiQLhttp://localhost:9000/graphiql Example Queries:The last 2 games of the player "shroud" in the North American server {
player(name:"shroud",shards:"pc-na",matchesLimit:2){
matches{
id
gameMode
createdAt
map
isCustomMatch
duration
totalParticipants
rosters{
id
slot
stats{
rank
kills
damage
dbnos
}
participants{
id
name
kills
damage
dbnos
}
}
}
}
} Get single match data {
match(id:"47529205-1e29-4149-ac67-90907027c5f0",shards:"pc-eu"){
id
map
isCustomMatch
rosters{
stats{
rank
kills
damage
}
participants{
name
kills
damage
}
}
}
} Notes
Docs for the Utils |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论