{"id":28281351,"url":"https://github.com/dbelling/ice_and_fire_api","last_synced_at":"2025-10-13T18:01:54.234Z","repository":{"id":56877205,"uuid":"77396849","full_name":"dbelling/ice_and_fire_api","owner":"dbelling","description":"A wrapper gem for http://www.anapioficeandfire.com","archived":false,"fork":false,"pushed_at":"2016-12-29T18:32:13.000Z","size":32,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-10-03T15:44:49.533Z","etag":null,"topics":["rest-api","ruby","rubygem"],"latest_commit_sha":null,"homepage":"","language":"Ruby","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/dbelling.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-12-26T17:05:57.000Z","updated_at":"2017-03-10T13:57:25.000Z","dependencies_parsed_at":"2022-08-20T22:00:32.073Z","dependency_job_id":null,"html_url":"https://github.com/dbelling/ice_and_fire_api","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/dbelling/ice_and_fire_api","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dbelling%2Fice_and_fire_api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dbelling%2Fice_and_fire_api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dbelling%2Fice_and_fire_api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dbelling%2Fice_and_fire_api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dbelling","download_url":"https://codeload.github.com/dbelling/ice_and_fire_api/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dbelling%2Fice_and_fire_api/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279007496,"owners_count":26084313,"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-11T02:00:06.511Z","response_time":55,"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":["rest-api","ruby","rubygem"],"created_at":"2025-05-21T11:16:50.824Z","updated_at":"2025-10-13T18:01:54.225Z","avatar_url":"https://github.com/dbelling.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# IceAndFireApi\n\n[![Gem Version](https://badge.fury.io/rb/ice_and_fire_api.svg)](https://badge.fury.io/rb/ice_and_fire_api)\n[![Downloads](https://img.shields.io/gem/dt/ice_and_fire_api.svg)](https://rubygems.org/gems/ice_and_fire_api)\n[![Build Status](https://travis-ci.org/dbelling/ice_and_fire_api.png?branch=master)](https://travis-ci.org/dbelling/ice_and_fire_api)\n\n![Game of Thrones](http://www.cheatsheet.com/wp-content/uploads/2016/01/GoT-1024x512.jpg)\n\nThis gem provides an interface for the [Ice And Fire API](https://anapioficeandfire.com/). It was motivated by the current [lack of support](https://anapioficeandfire.com/Documentation#library-elixir) for a ruby library. More response fields and schema information for `House`, `Character`, and `Book` resources is available through the [documentation](https://anapioficeandfire.com/Documentation#root).\n\n## Installation\n\nAdd this line to your application's Gemfile:\n\n```ruby\ngem 'ice_and_fire_api'\n```\n\nAnd then execute:\n\n    $ bundle\n\nOr install it yourself as:\n\n    $ gem install ice_and_fire_api\n\n## Usage\n\nThe [Ice and Fire API](https://anapioficeandfire.com/) contains endpoints for the following resources:\n\n  * [`Root`](https://anapioficeandfire.com/Documentation#root)\n\n    **Fetch information about all resources available in the API.**\n\n    ```ruby\n      IceAndFireApi::Root.fetch\n    ```\n\n  * [`Books`](https://anapioficeandfire.com/Documentation#books)\n\n    **Find a book resource from its associated ID.**\n\n    ```ruby\n      IceAndFireApi::Book.find(5)\n    ```\n\n    or\n\n    **Find a book resource through a [filter](https://github.com/joakimskoog/AnApiOfIceAndFire/blob/master/AnApiOfIceAndFire/Content/Documentation/Books.md#filtering-books).**\n\n    ```ruby\n      IceAndFireApi::Book.find_by({toReleaseDate: '2010-09-22T00:00:00', pageSize: 5})\n    ```\n  * [`Characters`](https://anapioficeandfire.com/Documentation#characters)\n\n    **Find a character resource from its associated ID.**\n\n    ```ruby\n      IceAndFireApi::Character.find(88)\n    ```\n\n    or\n\n    **Find a character resource through a [filter](https://github.com/joakimskoog/AnApiOfIceAndFire/blob/master/AnApiOfIceAndFire/Content/Documentation/Characters.md#filtering-characters).**\n\n    ```ruby\n      IceAndFireApi::Character.find_by(name: 'Eddard Stark')\n    ```\n\n  * [`Houses`](https://anapioficeandfire.com/Documentation#houses)\n\n    **Find a house resource from its associated ID.**\n\n    ```ruby\n      IceAndFireApi::House.find(42)\n    ```\n\n    or\n\n    **Find a house resource through a [filter](https://github.com/joakimskoog/AnApiOfIceAndFire/blob/master/AnApiOfIceAndFire/Content/Documentation/Houses.md#filtering-houses).**\n\n    ```ruby\n      IceAndFireApi::House.find_by({region: 'The North', pageSize: 15})\n    ```\n\n## Contributing\n\nBug reports and pull requests are welcome on GitHub at https://github.com/dbelling/ice_and_fire_api.\n\n## License\n\nThe gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdbelling%2Fice_and_fire_api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdbelling%2Fice_and_fire_api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdbelling%2Fice_and_fire_api/lists"}