GithubHelp home page GithubHelp logo

northburns / gwatlin Goto Github PK

View Code? Open in Web Editor NEW

This project forked from kryszak/gwatlin

0.0 0.0 0.0 1.32 MB

Guild Wars 2 API client written in Kotlin.

Home Page: https://kryszak.github.io/gwatlin-docs/

Shell 0.16% Kotlin 99.84%

gwatlin's Introduction

Build Status Codacy Badge Codacy Badge License: MIT Maven Central

Gwatlin

Guild Wars 2 API client written in Kotlin

About

This repository contains code for Guild Wars 2 API client based on documentation.

Client operates on API version v2.

JDK versions compatibility

JDK Gwatlin
21 1.9.2 and above
17 1.9.1 and below

Important

It seems that not all api features are documented on wiki page, so feel free to create issues for missing features. Issue should contain example json response for given endpoint.

Features

Category Finished
Account ✔️
Achievements ✔️
Characters ✔️
Commerce ✔️
Daily Rewards ✔️
Game Mechanics ✔️
Guild ✔️
Home Instance ✔️
Items ✔️
Map Information ✔️
Miscellaneous ✔️
Story ✔️
Structured PvP ✔️
Trading Post ✔️
World vs. World ✔️

Example usage

Artifact is available on Maven Central repository.

Documentation

For full code documentation visit documentation page

Code

// Client without API KEY
val wvwClient = GWWvwClient()
val wvwRank = wvwClient.getRanks(listOf(1))
println(wvwRank)
// WvwRank(id=1, minRank=1, title=Invader)

// Client with API KEY
val tokenInfoClient = GWTokenClient("API KEY here")
val tokenInfo = tokenInfoClient.getTokenInfo()
println(tokenInfo)
// Token(id=ABCDE02B-8888-FEBA-1234-DE98765C7DEF, name=My API Key, permissions=[account, characters, tradingpost, unlocks, build], type=null, expiresAt=null, issuedAt=null, urls=null)

Release

To release new version, increment project.version property in build file. Next, run release script to create new tag and push it to GitHub or create and push new tag manually. New package version will be deployed to Maven repository by GitHub Actions.

gwatlin's People

Contributors

kryszak avatar dependabot[bot] avatar fanonwue avatar github-actions[bot] avatar northburns avatar sheldan avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.