mirror of
https://github.com/tribufu/sdk-js
synced 2025-06-16 18:44:18 +00:00
Use nswag generator
This commit is contained in:
@ -1,15 +0,0 @@
|
||||
// Copyright (c) Tribufu. All Rights Reserved.
|
||||
// SPDX-License-Identifier: MIT
|
||||
|
||||
import dotenv from 'dotenv';
|
||||
import { TribufuClient } from '../build/index.mjs';
|
||||
|
||||
dotenv.config();
|
||||
|
||||
async function main() {
|
||||
const client = TribufuClient.fromEnv("TRIBUFU");
|
||||
const games = await client.getServers();
|
||||
console.log(games);
|
||||
}
|
||||
|
||||
main();
|
Reference in New Issue
Block a user