mirror of
https://github.com/tribufu/tribufu-js
synced 2026-05-18 09:35:44 +00:00
Update client.js
This commit is contained in:
parent
a427a32465
commit
9668e13f5e
1 changed files with 7 additions and 2 deletions
|
|
@ -5,5 +5,10 @@ import { TribufuClient } from '../build/index.mjs';
|
|||
|
||||
dotenv.config();
|
||||
|
||||
const client = TribufuClient.fromEnv("TRIBUFU");
|
||||
const clientId = client.getClientId();
|
||||
async function main() {
|
||||
const client = TribufuClient.fromEnv("TRIBUFU");
|
||||
const clientInfo = await client.getClientInfo();
|
||||
console.log(clientInfo);
|
||||
}
|
||||
|
||||
main();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue