Skip to content

roblox-js/core

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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))}`)
})

Releases

No releases published