{"id":17239022,"url":"https://github.com/binarymuse/wowheadr","last_synced_at":"2026-06-29T15:31:49.954Z","repository":{"id":56898558,"uuid":"1116242","full_name":"BinaryMuse/wowheadr","owner":"BinaryMuse","description":"Leverage the power of Wowhead for your Ruby projects.","archived":false,"fork":false,"pushed_at":"2010-11-29T17:43:55.000Z","size":120,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-07-02T00:11:47.274Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/BinaryMuse.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2010-11-27T04:50:34.000Z","updated_at":"2013-12-13T12:13:19.000Z","dependencies_parsed_at":"2022-08-20T17:40:30.474Z","dependency_job_id":null,"html_url":"https://github.com/BinaryMuse/wowheadr","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/BinaryMuse/wowheadr","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BinaryMuse%2Fwowheadr","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BinaryMuse%2Fwowheadr/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BinaryMuse%2Fwowheadr/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BinaryMuse%2Fwowheadr/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/BinaryMuse","download_url":"https://codeload.github.com/BinaryMuse/wowheadr/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BinaryMuse%2Fwowheadr/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264000627,"owners_count":23542112,"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","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":[],"created_at":"2024-10-15T05:47:32.278Z","updated_at":"2026-06-29T15:31:49.942Z","avatar_url":"https://github.com/BinaryMuse.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"wowheadr: a Powered by Wowhead Library for Ruby\n===============================================\n\n`wowheadr` (pronounced \"wow header\") is a Ruby gem designed to help leverage the power the [Powered by Wowhead JavaScript API][powered]. It can help generate links to items, achievements, spells, and other entities in the Wowhead database.\n\n  [powered]: http://www.wowhead.com/tooltips\n\nGenerating URLs\n---------------\n\nYou can generate URLs for (currently) items, achievements, and spells, providing you know the ID for the entity you want a URL for. Use the methods in `Wowheadr::URI` to generate the URLs. For example, to generate a URL for the item \"Bloodied Prison Shank\" (http://www.wowhead.com/item=43659), you would use:\n\n    gift = Wowheadr::URI.item(43659)\n\nAnd, to generate a URL for the ability \"Bear Form\" (http://www.wowhead.com/spell=5487), you would use:\n\n    sum_durids = Wowheadr::URI.spell(5487)\n\nAdvanced Usage\n--------------\n\nWowhead provides the ability to customize links to various entities on their site using the `rel` property of the HTML link tag. Wowheadr supports this via the `Wowheadr::Entity` classes. (Currently, only `Item` and `Spell` are available.)\n\n### Items\n\nFor example, to get the `rel` attribute for a link to a \"Bloodied Arcanite Reaper\" (http://www.wowhead.com/item=42943) tuned for a level 25 character, you can use:\n\n    zinwrath = Wowheadr::Entity::Item.id(42943).level(25).to_s\n\n(Calling `to_s` on any `Entity` class returns the text that should be placed in the `rel` attribute of your link, as shown:)\n\n    \u003ca hef=\"http://www.warcraftmovies.com/movieview.php?id=7558\" rel=\"item=42943\u0026amp;lvl=25\"\u003eArcanite Reaper, HOOOOO\u003c/a\u003e\n\nYou can add enchants, gems, sockets, other set pieces, and more to an `Item`:\n\n    Wowheadr::Entity::Item.id(25697).gems(23121).enchant(2647).pieces(25695, 25696, 25697)\n\n### Spells\n\nSpells work similarly. You can change the level using the `level()` method (for spell scaling), and you can use the `buff()` method to cause the tooltip to show the buff or debuff the spell causes rather than the spell itself.\n\n    man_angle     = Wowheadr::Entity::Spell.new(33878).level(10).to_s\n    level_ten_rel = man_angle.level(10).to_s\n    debuff_rel    = man_angle.buff(true).to_s\n\nMore Awesomeness\n----------------\n\nMore is planned in the immediate future, including a Ruby on Rails gem that provides various helper methods to make integrating Powered by Wowhead even easier. Stay tuned!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbinarymuse%2Fwowheadr","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbinarymuse%2Fwowheadr","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbinarymuse%2Fwowheadr/lists"}