Skip to content

Conversation

@bchanowski
Copy link

…ture error

@DavidKrpt
Copy link

@bchanowski, hello, I have a usage question, hopefully you don't mind me asking it here. The original repo hasn't been updated in 5 years, and I think you're my best chance at getting an answer :)
The question is, does this repo work ? Whatever I do, I get 403 Request forbidden by administrative rules.

Here's what I'm trying

const { TmeApiClient } = require("../dist/client");

const client = new TmeApiClient(
  "token",
  "secret"
);

client
  .request("Utils/Ping")
  .then(console.log)
  .catch((e) => console.log(e));

It returns 403

I'm pretty sure the token and the secret are correct.
Do you have a suggestion by any chance ? Thanks in advance

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants