noblox.js icon indicating copy to clipboard operation
noblox.js copied to clipboard

Reorganize noblox.js API endpoints, add Datastore Open Cloud, improve unit tests

Open suufi opened this issue 3 years ago • 2 comments

  • 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

suufi avatar Jul 04 '22 05:07 suufi

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.

suufi avatar Jul 04 '22 05:07 suufi

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.

Managing API Keys DataStore API

tobiO0310 avatar Jul 06 '22 06:07 tobiO0310

What's the status on this PR? Does it just need a review or is there work to be done?

Neztore avatar Nov 02 '22 12:11 Neztore