Ruby Gem

Projects, Applications, and API development.
Post Reply
picandocodigo
Posts: 7
Joined: Sat Aug 25, 2018 2:48 pm

Ruby Gem

Post by picandocodigo »

Hi,
I built a Ruby gem to interact with the API. Originally it only worked for the old API (I built in 2014!). I recently updated it so that users need to get an API key and it uses the new API.

Here's the source code, documentation and instructions on how to install it and use it:
https://github.com/picandocodigo/gamesdb

50% of the API is already implemented and tested:
  • /Games/ByGameID
  • /Games/ByGameName
  • /Games/ByPlatformID
  • /Games/Images
  • /Platforms
  • /Platforms/ByPlatformID
I'm hoping to add the missing endpoints soon.
Ruby gem to use TheGamesDB API:
https://github.com/picandocodigo/gamesdb

StainlessSteelRat
Posts: 48
Joined: Mon May 21, 2018 7:18 am

Re: Ruby Gem

Post by StainlessSteelRat »

Very useful!

picandocodigo
Posts: 7
Joined: Sat Aug 25, 2018 2:48 pm

Re: Ruby Gem

Post by picandocodigo »

I've updated the gem a couple of times since published, and if you're interested, you can check the changelog here.
Ruby gem to use TheGamesDB API:
https://github.com/picandocodigo/gamesdb

picandocodigo
Posts: 7
Joined: Sat Aug 25, 2018 2:48 pm

Re: Ruby Gem

Post by picandocodigo »

Just a heads up in case anyone from the forum's using this Ruby gem, it's been updated to version 2.0.0 with 100% API support and a few breaking changes from the 1.x branch:
https://github.com/picandocodigo/gamesd ... tag/v2.0.0
Ruby gem to use TheGamesDB API:
https://github.com/picandocodigo/gamesdb

Post Reply