@specialman/therealowlet
Version:
Node JS SDK for Therealowlet APIs
22 lines (18 loc) • 393 B
JavaScript
class Owlet {
constructor(request) {
this.request = request;
}
async balance(query) {
return this.request(`/`, {
method: "GET",
query: { ...query, action: "balance" },
});
}
async services(query) {
return this.request(`/`, {
method: "GET",
query: { ...query, action: "services" },
});
}
}
module.exports = Owlet;