roflare
TypeScript icon, indicating that this package has built-in type declarations

1.1.2 • Public • Published

View on NPM View on Yarn View on Github Typescript Typescript

Overview

Roflare allows you to interact with Roblox's web API in a variety of ways. A few examples are:

  • [✅] Fetch information about an experience
  • [✅] Fetch information about a user
  • [✅] Manage account

Roflare provides secure access to authentication-required features without ever asking for your password. Our login process uses ROBLOX's quick login system, keeping your credentials safe while enabling full API functionality.

Installation

#npm
npm i roflare

# yarn
yarn add roflare

Example

To learn more about Roflare, visit the documentation

import * as Roflare from 'roflare'

const userId = 80254
const friendList = await Roflare.GetUserFriendList(userId)
// [
//  {
//    "id": 1617749303,
//    "name": "bk52540",
//    "displayName": "BKmusic"
//  },
//  ...
// ]

// Send friend request to all user in friendList
friendList.forEach(user => {
    await Roflare.AddFriend(user.id)
    console.log(`Sent friend request: ${Roflare.ShortenUserUrl(user.id))}`)
})

Package Sidebar

Install

npm i roflare

Weekly Downloads

3

Version

1.1.2

License

MPL-2.0

Unpacked Size

112 kB

Total Files

108

Last publish

Collaborators

  • lttrvqss