{"id":19369002,"url":"https://github.com/darkstego/igdb_crystal","last_synced_at":"2025-10-29T13:48:47.924Z","repository":{"id":149806978,"uuid":"428766096","full_name":"darkstego/igdb_crystal","owner":"darkstego","description":"IGDB interface for Crystal","archived":false,"fork":false,"pushed_at":"2021-11-16T18:19:04.000Z","size":3,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-07-31T00:29:02.887Z","etag":null,"topics":["api","crystal","igdb"],"latest_commit_sha":null,"homepage":"","language":"Crystal","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/darkstego.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-11-16T18:13:07.000Z","updated_at":"2021-11-16T18:22:43.000Z","dependencies_parsed_at":null,"dependency_job_id":"67392db5-b841-4105-8fd2-1ed8c2dae96a","html_url":"https://github.com/darkstego/igdb_crystal","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/darkstego/igdb_crystal","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/darkstego%2Figdb_crystal","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/darkstego%2Figdb_crystal/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/darkstego%2Figdb_crystal/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/darkstego%2Figdb_crystal/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/darkstego","download_url":"https://codeload.github.com/darkstego/igdb_crystal/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/darkstego%2Figdb_crystal/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":281633083,"owners_count":26534792,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-29T02:00:06.901Z","response_time":59,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["api","crystal","igdb"],"created_at":"2024-11-10T08:09:29.605Z","updated_at":"2025-10-29T13:48:47.874Z","avatar_url":"https://github.com/darkstego.png","language":"Crystal","funding_links":[],"categories":[],"sub_categories":[],"readme":"# IGDB\n\nCrystal wrapper for the [IGDB](https://www.igdb.com/)\n\n## Installation\n\n1. Add the dependency to your `shard.yml`:\n\n   ```yaml\n   dependencies:\n     igdb:\n       github: darkstego/igdb_crystal\n   ```\n\n2. Run `shards install`\n\n## Usage\n\n```crystal\nrequire \"igdb\"\n\nclient = IGDB.new(\"my_id\",\"my_token\")\n\n# Search for comming soon PS4 games\nclient.get {\"fields\" =\u003e \"*\",\n            \"where\" =\u003e \"game.platforms = 48 * date \u003c 1538129354\",\n            \"sort\" =\u003e \"date desc\"}\n\n# Search for 'Mario Kart' games \nclient.search \"Mario Kart\"\n\n# Temprarily switch endpoint\nclient.characters.id 55  #finds character with id 55\nclient.id 55             #finds game with id 55\n\n# Permanently switch endpoint\nclient.endpoint = \"characters\"\n\n# Count Matches\nclient.count\n\n```\n\n## Contributing\n\n1. Fork it (\u003chttps://github.com/darkstego/igdb_crystal/fork\u003e)\n2. Create your feature branch (`git checkout -b my-new-feature`)\n3. Commit your changes (`git commit -am 'Add some feature'`)\n4. Push to the branch (`git push origin my-new-feature`)\n5. Create a new Pull Request\n\n## Contributors\n\n- [Abdulla Bubshait](https://github.com/darkstego) - creator and maintainer\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdarkstego%2Figdb_crystal","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdarkstego%2Figdb_crystal","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdarkstego%2Figdb_crystal/lists"}