igdb
Version, currently main branch1 version
- main branchlatestNov 16, 2021
github.com/darkstego/igdb_crystal
IGDB interface for Crystal
0 stars
0 dependents
License: MIT
Installation
# Add this to your shard.yml
dependencies:
igdb:
github: darkstego/igdb_crystal
branch: mainmain is a branch, not a release, so this tracks it rather than pinning a version.
Then run:
shards installshard.yml
- Crystal
1.2.1- License
- MIT
- Author
- Abdulla Bubshait
Dependencies
This version declares no dependencies.
README
IGDB
Crystal wrapper for the IGDB
Installation
-
Add the dependency to your
shard.yml:dependencies: igdb: github: darkstego/igdb_crystal -
Run
shards install
Usage
require "igdb"
client = IGDB.new("my_id","my_token")
# Search for comming soon PS4 games
client.get {"fields" => "*",
"where" => "game.platforms = 48 * date < 1538129354",
"sort" => "date desc"}
# Search for 'Mario Kart' games
client.search "Mario Kart"
# Temprarily switch endpoint
client.characters.id 55 #finds character with id 55
client.id 55 #finds game with id 55
# Permanently switch endpoint
client.endpoint = "characters"
# Count Matches
client.count
Contributing
- Fork it (https://github.com/darkstego/igdb_crystal/fork)
- Create your feature branch (
git checkout -b my-new-feature) - Commit your changes (
git commit -am 'Add some feature') - Push to the branch (
git push origin my-new-feature) - Create a new Pull Request
Contributors
- Abdulla Bubshait - creator and maintainer
Documentation
Built from the current release. The first visit to a release nobody has asked for starts its build.
Links
This branch
- Branch
main- Seen
- Nov 16, 2021
- Crystal
1.2.1- Indexed
- yes
Dependents
No indexed shard depends on this one yet.
Repository
github.com/darkstego/igdb_crystal
Metadata
- Created
- Aug 12, 2026
- Updated
- Aug 15, 2026
- Synced
- Aug 15, 2026
- Versions
- 1