Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dotenorio/paladins-graphql-api
A wonderful GraphQL API to get any data from Hi Rez Paladins API
https://github.com/dotenorio/paladins-graphql-api
api graphql koa paladins paladins-api paladinsapi
Last synced: about 1 month ago
JSON representation
A wonderful GraphQL API to get any data from Hi Rez Paladins API
- Host: GitHub
- URL: https://github.com/dotenorio/paladins-graphql-api
- Owner: dotenorio
- License: mit
- Created: 2019-06-24T18:38:41.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2022-12-03T15:03:19.000Z (about 2 years ago)
- Last Synced: 2024-11-02T15:37:30.382Z (3 months ago)
- Topics: api, graphql, koa, paladins, paladins-api, paladinsapi
- Language: TypeScript
- Homepage: https://paladins-graphql-api.dotenorio1.now.sh
- Size: 569 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 11
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Paladins GraphQL API
A wordefull GraphQL API to get any data from [Hirez Paladins API](https://docs.google.com/document/d/1OFS-3ocSx-1Rvg4afAnEHlT3917MAK_6eJTR6rzr-BM/edit#).
## Demo
Access https://paladins-graphql-api.dotenorio1.now.sh/ to see online demo.
_**Remember:** You can send `sessionId` as parameter or as header with the key `X-Session-Id`, do as you want._
## How to configure locally
Please clone this repository and install dependencies:
```
$ git clone https://github.com/dotenorio/paladins-graphql-api.git
$ cd paladins-graphql-api
$ yarn
```Configure the environment variables:
```
- Open the file .env.example in any editor
- Change value of parameters
- PALADINS_API_URL
- PALADINS_DEV_ID
- PALADINS_AUTH_KEY
- Save as .env
```
_**IMPORTANT:** if you don't have a api access, you can request [here](https://fs12.formsite.com/HiRez/form48/secure_index.html)!_After this, start the dev enviroment:
```
$ yarn dev
```Now, open the link http://localhost:4000/ in the browser and _voìla_. You can do **queries**, see **schema** and the **documentation**.
## Available Methods
* ping
* createSession
* testSession
* getUser
* getHirezServerStatus
* getDataUsed
* getDemoDetails
* getEsportsProLeagueDetails
* getFriends
* getChampionRanks
* _Other methods in progress..._## Postman
If you use postman, you can use this:
https://www.getpostman.com/collections/522977fed03462c851df