1.0.6 • Published 3 years ago

robloxapiwrapper.js v1.0.6

Weekly downloads
-
License
ISC
Repository
-
Last release
3 years ago

robloxapiwrapper.js

  • By LocalSimp#0001
  • With help(endpoint for csrf token)] and mobileapi endpoint) from noblox.js
  • The endpoints that require captcha have been skipped, such as follow, send friend request etc.
  • COOKIE MUST INCLUDE THE WARNING PART TOO.
  • UNIVERSEID !== PLACEID. Use await RobloxClient#GetUniverseID(placeid)
  • ASSETID !== GAMEPASSID which is also !== VIPSERVERID
  • VIPSERVER AND PRIVATE SERVER MAY BE DIFFERENT THINGS SINCE ROBLOX IS WEIRD
  • Asset types are specified in index.d.ts
  • Any parameter called "limit" can only have a few number values. Specified in index.d.ts

Examples Code Snippets

  • With a cookie:
const Roblox = require("robloxapiwrapper.js")
const Client = new Roblox.RobloxClient();
const Cookie = "A .ROBLOSECURITY cookie including the warning part." 
await Client.Initialize(Cookie)
const amIFollowingROBLOX = await Client.IsFollowing(1)
console.log(amIFollowingROBLOX)
  • Without a cookie:
const Roblox = require("robloxapiwrapper.js")
const Client = new Roblox.RobloxClient();
const OwnsGamepass = await Client.UserOwnsGamepass(someuserId,someGamepassId)
if(OwnsGamepass === true){
    console.log("The user owns this gamepass")
} else {
    console.log("The user does not own this gamepass")
}
1.0.6

3 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago