boxrec: Can't login with provided credentials
I keep getting this error when I try to login to the boxrec API.
It just keeps saying like this.
RequestError: Error: connect ETIMEDOUT 37.187.156.219:443
I’ve attached my code.
const boxrec = require("boxrec").Boxrec;
(async function () {
try {
const cookieJar = await boxrec.login(BOXREC_USER, BOXREC_PASSWORD);
} catch(e) {
console.log("login failed", e);
}
})();
I am using the latest node version 16.14.2 Thanks in advance.
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Comments: 17 (8 by maintainers)
Yeah, the documentation could use updating. There’s a WIP from myself about how it all works.
So if you want all the information, you would do something like this
otherwise you would just use the individual getters, which I’m a bit foggy remembering what they are. Someone would use the individual getters to faster parse whatever information they need, where using
outputdoes have to parse all the information.Anyways,
outputis what you want at this time.This should be fixed with boxrec@8.0.0
This is a breaking change and now date is not
.getDate(2022-01-01), it is an object:This issue was automatically closed when the PR merged but let me know how it goes.
It’s possibly broken. I’ll look at it when I can. No ETA on that. I’ll let you know when I know something
If you do figure something out, please let me know