Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/s3si/src/exporters/splashcat.ts>SplashcatExporter

Export your battles from SplatNet to https://stat.ink
Go to Latest
class SplashcatExporter
implements GameExporter
import { SplashcatExporter } from "https://deno.land/x/s3si@gui-v0.4.16/src/exporters/splashcat.ts";

Exporter to Splashcat.

Constructors

new
SplashcatExporter(unnamed 0: { splashcatApiKey: string; uploadMode: string; env: Env; })

Properties

private
api: SplashcatAPI
private
uploadMode: string
mapPlayer: (player: VsPlayer, _index: number) => Player
name: string

Methods

exportGame(game: Game): Promise<ExportResult>
mapBattle(unnamed 0: VsInfo): SplashcatBattle
mapColor(color: Color): string | undefined
mapGear(gear: PlayerGear): Gear
notExported(unnamed 0: { list: string[]; type: Game["type"]; }): Promise<string[]>