A Destiny 2 API gem.
Find a file
2025-09-19 07:00:31 +00:00
.github/workflows Add CodeCov support 2023-11-13 22:45:53 +11:00
lib Bump to v7.0.3 2025-09-14 05:42:21 +00:00
spec Update names, load dotenv 2025-07-14 02:11:33 +00:00
.env.test Update names, load dotenv 2025-07-14 02:11:33 +00:00
.gitignore Add coverage output 2023-10-26 07:23:26 +00:00
.rubocop.yml Remove the standard gem config 2023-10-22 05:54:51 +00:00
.ruby-version Switch to Ruby 3.3 as a minimum, bump httpx 2025-06-08 22:27:06 +00:00
.tool-versions Switch to Ruby 3.3 as a minimum, bump httpx 2025-06-08 22:27:06 +00:00
Gemfile Bump the gems 2025-07-14 02:31:06 +00:00
Gemfile.lock Bump ourselves 2025-09-19 07:00:31 +00:00
LICENSE Update the year 2025-07-11 22:48:15 +00:00
Rakefile Tidy the tasks 2023-11-04 07:22:32 +00:00
README.md Update to the new setup 2023-05-06 04:03:42 +00:00
restiny.gemspec Switch to Ruby 3.3 as a minimum, bump httpx 2025-06-08 22:27:06 +00:00

Restiny

This is a very early version of what will hopefully be a somewhat comprehensive and useful gem to interact with Bungie's Destiny 2 API. It's currently somewhat useable! Contributions are very welcome!

Eyes up, Ruby developer!

Installation

Install the gem by either adding it to your Gemfile...

gem 'restiny'

...and installing it via Bundler:

bundle install

Or, just install it directly via Rubygems:

gem install restiny

Usage

You'll first want to include the gem in your code:

require 'restiny'

Next, you'll need to tell Restiny your Bungie API key - you can create and manage your own here. Once you've got your key, pass it to the gem:

Restiny.api_key = 'MY-API-KEY'

And away you go! I'll add more details soon, but the code is hopefully obvious enough to muddle through things yourself for now.