Skip to content

MinecraftAuthentication/kotlin-lib

Repository files navigation

org.openapitools.client - Kotlin client library for User API

No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)

Overview

This API client was generated by the OpenAPI Generator project. By using the openapi-spec from a remote server, you can easily generate an API client.

  • API version: v1
  • Package version:
  • Generator version: 7.14.0
  • Build package: org.openapitools.codegen.languages.KotlinClientCodegen For more information, please visit https://gooble.com

Requires

  • Kotlin 1.7.21
  • Gradle 7.5

Build

First, create the gradle wrapper script:

gradle wrapper

Then, run:

./gradlew check assemble

This runs all tests and packages the library.

Features/Implementation Notes

  • Supports JSON inputs/outputs, File inputs, and Form inputs.
  • Supports collection formats for query parameters: csv, tsv, ssv, pipes.
  • Some Kotlin and Java types are fully qualified to avoid conflicts with types defined in OpenAPI definitions.
  • Implementation of ApiClient is intended to reduce method counts, specifically to benefit Android targets.

Documentation for API Endpoints

All URIs are relative to https://api.minecraftauth.me/v1

Class Method HTTP request Description
DiscordApi myApplications GET /{fromPlatform}/{fromUserId}/discord/{serverId} User in guild
DiscordApi userHasRoleInGuild GET /{fromPlatform}/{fromUserId}/discord/{serverId}/role/{roleId} User has role
PatreonApi userIsPatreonMember GET /{fromPlatform}/{fromUserId}/patreon User is member
PatreonApi userIsPatreonMemberAtTier GET /{fromPlatform}/{fromUserId}/patreon/tier/{tierName} User is member at tier
TwitchApi userIsFollowingTwitch GET /{fromPlatform}/{fromUserId}/twitch User is following
TwitchApi userIsSubscribedAtTier GET /{fromPlatform}/{fromUserId}/twitch/subscriber/{tier} User is subsribed at tier
TwitchApi userIsSubscribedTwitch GET /{fromPlatform}/{fromUserId}/twitch/subscriber User is subscribed
YouTubeApi userIsMemberAtTierYouTube GET /{fromPlatform}/{fromUserId}/youtube/member/{tier} User is member at tier
YouTubeApi userIsMemberYouTube GET /{fromPlatform}/{fromUserId}/youtube/member User is member
YouTubeApi userIsSubscribedYouTube GET /{fromPlatform}/{fromUserId}/youtube User is subscribed

Documentation for Models

Documentation for Authorization

Authentication schemes defined for the API:

appId

  • Type: API key
  • API key parameter name: X-Application-ID
  • Location: HTTP header

About

A kotlin-based library (generated via OpenAPI-Generator) for MinecraftAuthentication v2

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages