Skip to content

Mandalorian007/questland-public-api

Repository files navigation

Questland API

This is a public API for Questland. Current public url: https://questland-public-api.cfapps.io/swagger-ui.html

Status

This project is no longer in active development and should be considered deprecated. Any changes made will be to support the existing production deployment while it's still active. Any community developers who wish to take over this project need only fork this repository and do not need any special permission. I do request that credit for the original work be acknowledged in any forked projects. If this project is to be used for commercial means then please contact me first for approval.

Purpose

Help the community build and grow. I offer informative videos on my YouTube to help players catch up with ease to enjoy the game and published a "handbook" that offers guides on everything you need to know! I have also created a questland discord bot that is backed by the questland public api. To earn exclusive perks become a Patreon by pledging $3 or more, though it's not required, but greatly appreciated.

Youtube

My youtube provides the basics such as Gear, a variety of builds, and the Battle Events. https://www.youtube.com/channel/UCLHjCEBoRj-PGCPvmWzQXMQ/videos

Questland Handbook

This website provides extensive guides and in depth information on everything you need to know about Questland. https://questland-handbook.cfapps.io/

Discord Bot

Repository available at: https://github.com/Mandalorian007/questland-discord-bot Discord installation link: https://discordapp.com/oauth2/authorize?client_id=675765765395316740&scope=bot

#Developers

Local Setup

  • Java 11 JDK is needed
  • Protocol Buffers is used so you need flatc installed on your PC
  • run: gradlew createFlatBuffers
  • Questland API tokens for each server need as well as the google oauth client id to support user login to be setup, and your spring profile configured to dev in your IDE or on your system to run locally:
GLOBAL_PLAYER_TOKEN
EUROPE_PLAYER_TOKEN
AMERICA_PLAYER_TOKEN
ASIA_PLAYER_TOKEN
VETERANS_PLAYER_TOKEN
GOOGLE_OAUTH_CLIENT_ID
SPRING_PROFILES_ACTIVE
  • when running locally ensure you setup application default credentials: gcloud auth application-default login
  • to start the application run: gradlew bootRun

Deployment

  • Deployment is done via appengine so you need a gcp project and to update your GCP project in gradle.build
  • you need a local environment variables file src/main/appengine/env_variables.yaml with Questland API tokens
env_variables:
  GLOBAL_PLAYER_TOKEN: 'TOKEN_GOES_HERE'
  EUROPE_PLAYER_TOKEN: 'TOKEN_GOES_HERE'
  AMERICA_PLAYER_TOKEN: 'TOKEN_GOES_HERE'
  ASIA_PLAYER_TOKEN: 'TOKEN_GOES_HERE'
  VETERANS_PLAYER_TOKEN: 'TOKEN_GOES_HERE'
  GOOGLE_OAUTH_CLIENT_ID: 'GOOGLE_OAUTH_CLIENT_ID_GOES_HERE'
  SPRING_PROFILES_ACTIVE: 'production'
  • run: gradlew bootJar
  • run: gradlew appengineDeploy

About

This is a public API for Questland

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •