Project

rublox

0.0
The project is in a healthy, maintained state
This gem allows easy interaction with the Roblox web API via class models.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
 Dependencies

Development

~> 2.7
~> 13.0.6
~> 1.21.0
~> 0.9.26

Runtime

~> 5.0.2
 Project Readme
rublox

rublox is a Roblox web API wrapper written in Ruby. It aims to provide an object oriented interface to get and modify data from Roblox's web API.

Installation

Include rublox in your application's Gemfile

gem "rublox", "~> 0.1.0"

or run

$ gem install rublox

on your terminal.

Getting started

The gateway to the API is the Rublox::Client object. You can initialize it with your .ROBLOSECURITY cookie if you need functionality that needs it.

# Without a cookie
client = Rublox::Client.new
# With a cookie
client = Rublox::Client.new("_|WARNING:-DO-NOT-SHARE-THIS.--Sharing-this ...")

(if you open-source/work with other people on your application, it is recommended to keep your cookie in a .env file and load it with a library like dotenv)

From there, you can build off your application's logic with methods provided via Rublox::Client

Documentation

You can access the documentation at https://rubydoc.info/gems/rublox.