All Projects → antoniojps → graphql-pubg

antoniojps / graphql-pubg

Licence: MIT license
GraphQL wrapper for the PUBG API (deprecated)

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to graphql-pubg

pubg-typescript-api
TypeScript wrapper on official PUBG API.
Stars: ✭ 11 (-78.85%)
Mutual labels:  pubg, playerunknowns-battlegrounds, pubg-api
PUBG-Replay-Manager
Shows undocumented information from PUBG replays, and has the ability to import and export replays
Stars: ✭ 44 (-15.38%)
Mutual labels:  playerunknown, pubg, playerunknowns-battlegrounds
game apis
This repository is for integrating with different apis to allow you to pull player or game data
Stars: ✭ 24 (-53.85%)
Mutual labels:  pubg, pubgapi, pubg-api
PUBGServersPing
This site checks your ping to PUBG servers!
Stars: ✭ 50 (-3.85%)
Mutual labels:  playerunknown, pubg
pubg-lobby-proxy
Eazy way to view and modify PLAYERUNKNOWN'S BATTLEGROUNDS lobby traffic
Stars: ✭ 33 (-36.54%)
Mutual labels:  pubg, playerunknown-s-battlgrounds
PUBG-Radar-setup
Easy setup script for PUBG Radar
Stars: ✭ 51 (-1.92%)
Mutual labels:  playerunknowns-battlegrounds
pubg api
A nodejs wrapper for the official PUBG API
Stars: ✭ 39 (-25%)
Mutual labels:  pubg
planepath
pubg planepath drawing
Stars: ✭ 37 (-28.85%)
Mutual labels:  pubg
PUBG USB
这是 某宝 卖大几千的压枪源码,不做任何数据读取以及侵入,这里采用外数据采集(IMG), 至今可以使用,无视任何更新(新武器,以及新武器的压枪规则,需要自己调试,在data_config下);
Stars: ✭ 44 (-15.38%)
Mutual labels:  pubg
pubg mobile memory hacking
Pubg Mobile Emulator Gameloop Memory Hacking C++ Source Code. Ex: Name, Cords, Bones, Weapons, Items, Box, Drop, Aimbot etc.
Stars: ✭ 69 (+32.69%)
Mutual labels:  pubg
ESP For PubgMobile
🛩Pubg Mobile Hack using Extra Sensory Perception(ESP)🐱‍💻
Stars: ✭ 82 (+57.69%)
Mutual labels:  pubg
PUBGSharp
C# wrapper for PUBG stats API
Stars: ✭ 24 (-53.85%)
Mutual labels:  pubg
Crawler pubg.op.gg
This is a web crawler for pubg.op.gg, written by Ruichong Liu. 绝地求生游戏数据抓取
Stars: ✭ 15 (-71.15%)
Mutual labels:  pubg
pubg-internal
Demo internal ESP and Aimbot for PUBG.
Stars: ✭ 129 (+148.08%)
Mutual labels:  pubg
steam community market
Get item prices and volumes from the Steam Community Market using Python 3
Stars: ✭ 24 (-53.85%)
Mutual labels:  pubg
- Warning: this project is not being maintained and it's usage is not recommended.

graphql-pubg

GraphQL-pubg

PUBG API aggregator on top of GraphQL

How to start the server?

  1. Clone the repository
$ git clone https://github.com/antoniojps/graphql-pubg.git
$ cd graphql-pubg
  1. Paste your API KEY to .env

    • create .env file from .env.example (just remove .example) and add your API KEY
  2. Install dependencies and start the server

$ npm install

// Starts both the webpack server as well as the graphQL server on 2 different ports
$ npm start

GraphQL API

http://localhost:9000/graphql .

Access GraphiQL

http://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

  • Shards is defaulted to "pc-eu" on all queries
  • matchesLimit in the Player query is capped at 5 as of now (you can change this at Utils/filter/player.js on the function getPlayerMatchesArr
  • Error handling is really limited
  • No telemetry data

Docs for the Utils

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].