Include rublox in your application's
gem "rublox", "~> 0.1.0"
$ gem install rublox
on your terminal.
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
You can access the documentation at https://rubydoc.info/gems/rublox.