shrimpy-node
shrimpy-node copied to clipboard
unable to get/create users
const publicKey = process.env.PUB_KEY;
const privateKey = process.env.PRIVATE_KEY;
const client = new Shrimpy.ShrimpyApiClient(publicKey, privateKey);
async function some() {
try {
const users = await client.getUsers();
console.log(users);
const response = {
statusCode: 200,
body: JSON.stringify({
message: users,
}),
};
callback(null, response);
} catch (error) {
// handle the error
}
}
some();
`
```
used python aswell. unabel to create users or get existing ones. Premium member.
Go to shrimpy Developers dashboard, Api Keys and enable all four boxes! Should fix the problem!