noblox.js
noblox.js copied to clipboard
Reorganize noblox.js API endpoints, add Datastore Open Cloud, improve unit tests
- Updates endpoints for some using www. to their respective subdomain (if available)
- Improve test cases by adding more specificity and more functions
- Uses Date objects for created and updated properties
- Delete follow and getStatus
- getIdFromUsername can now return multiple IDs if provided multiple usernames (backward compatible)
- Correct a typo on postinstall
- Updated typings
- Adds datastore open cloud functions (#473) and API key support
The one thing I am unsure about is the whole setting an API key. Does anyone have any clue if there's a way to test if it's valid? Right now, all the setAPIKey function is doing is just setting it–no checking or anything whatsoever.
Currently it looks like the only way is when sending a request and it returning 403. But that returns 403 on any operation that the supposed key cannot use.
I suspect you'd need to request Roblox to implement a way to test if the key is valid.
What's the status on this PR? Does it just need a review or is there work to be done?