{"id":19365192,"url":"https://github.com/eltercero/uatu","last_synced_at":"2025-10-08T10:42:42.116Z","repository":{"id":59158443,"uuid":"16648706","full_name":"eltercero/uatu","owner":"eltercero","description":"Lightweight Marvel API Wrapper for Ruby.","archived":false,"fork":false,"pushed_at":"2017-12-14T14:05:59.000Z","size":62,"stargazers_count":10,"open_issues_count":0,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-09-29T13:43:17.941Z","etag":null,"topics":["marvel-api","ruby","wrapper"],"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/eltercero.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":"2014-02-08T17:35:20.000Z","updated_at":"2017-12-14T11:01:03.000Z","dependencies_parsed_at":"2022-09-13T17:51:09.060Z","dependency_job_id":null,"html_url":"https://github.com/eltercero/uatu","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/eltercero/uatu","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eltercero%2Fuatu","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eltercero%2Fuatu/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eltercero%2Fuatu/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eltercero%2Fuatu/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/eltercero","download_url":"https://codeload.github.com/eltercero/uatu/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eltercero%2Fuatu/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278931652,"owners_count":26070788,"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-08T02:00:06.501Z","response_time":56,"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":["marvel-api","ruby","wrapper"],"created_at":"2024-11-10T07:39:23.520Z","updated_at":"2025-10-08T10:42:42.070Z","avatar_url":"https://github.com/eltercero.png","language":"Ruby","readme":"[![Build Status](https://travis-ci.org/eltercero/uatu.png)](https://travis-ci.org/eltercero/uatu)\n\n# Uatu\n\nUatu is a Wrapper for the Marvel API. See [the API](http://developer.marvel.com) for more details. It relies on OpenStruct to build ruby objects with the API response.\n\nUatu is [also](http://en.wikipedia.org/wiki/Uatu) a member of The Watchers, that nice extraterrestrial race who monitor life of other species.\n\n## Installation\n\nTo get the latest stable:\n\n    gem 'uatu-marvel'\n\nTo get the latest code:\n\n    gem 'uatu-marvel', git: https://github.com/eltercero/uatu\n\nAnd then execute:\n\n    $ bundle\n\n## Usage\n\n```ruby\nrequire 'uatu'\n\n# You can also have them in your env =\u003e ENV[\"MARVEL_PUBLIC_KEY\"] - ENV[\"MARVEL_PRIVATE_KEY\"]\nUatu.configure do |config|\n  config.public_key = 'your_api_key'\n  config.private_key = 'your_private_api_key'\nend\n\nwatcher = Uatu::Base.new\n\n# Examples\n#####################################################\n# Searching by characters return an Array of results\ncharacter = watcher.characters(name: 'Daredevil').first\ncharacter.name\n=\u003e 'Daredevil'\ncharacter.description\n=\u003e \"Abandoned by his mother, Matt Murdock was raised by his father, boxer \\\"Battling Jack\\\" Murdock, in Hell's Kitchen. Realizing that rules were needed to prevent people from behaving badly, young Matt decided to study law; however, when he saved a man from an oncoming truck, it spilled a radioactive cargo that rendered Matt blind while enhancing his remaining senses. Under the harsh tutelage of blind martial arts master Stick, Matt mastered his heightened senses and became a formidable fighter.\"\n\nrandom_hero = watcher.characters(limit: 1, offset: rand(1000)).first.name\n=\u003e \"Dreaming Celestial\"\nrandom_heroes_team = watcher.characters(limit: 20, offset: rand(1000)).map(\u0026:name)\n=\u003e [\"Rumiko Fujikawa\", \"Runaways\", \"Russian\", \"S.H.I.E.L.D.\", \"Sabra\", \"Sabretooth\", \"Sabretooth (Age of Apocalypse)\", \"Sabretooth (House of M)\", \"Sabretooth (Ultimate)\", \"Sage\", \"Salem's Seven (Ultimate)\", \"Sally Floyd\", \"Salo\", \"Sandman\", \"Santa Claus\", \"Saracen (Muzzafar Lambert)\", \"Sasquatch (Walter Langkowski)\", \"Satana\", \"Sauron\", \"Scalphunter\"]\n\n# Parameters are in ruby style. This means no camel case like firstName\nirish_fella = watcher.creators(first_name: 'Garth', last_name: 'Ennis').first\nirish_fella.comics.available\n=\u003e 103\n\n#You can also search by id\ncharacter = watcher.character(1009262)\ncharacter.thumbnail\n=\u003e \"http://i.annihil.us/u/prod/marvel/i/mg/d/50/50febb79985ee.jpg\"\n\n#There is also a handy method for checking out the last url you requested\nwatcher.last_request_url\n=\u003e \"http://gateway.marvel.com/v1/public/characters/1009262?apikey=xxx\u0026hash=xxx\u0026ts=2014-02-08T18%3A52%3A25%2B01%3A00\"\n\n#For combined calls (like, comics in a character =\u003e GET /v1/public/characters/{characterId}/comics), you make them like this\nasgardian_god_comics = watcher.character_comics(1009664)\nasgardian_god_comics.first.title\n\"Thor: God of Thunder (2012) #2\" # Which is, by the way, an amazing comic.\n```\n\n## Contributing\n\nPlease, be my guest!\n\n1. Fork it ( http://github.com/eltercero/uatu/fork )\n2. Create your feature branch (`git checkout -b nuff-said`)\n3. Commit your changes (`git commit -am 'Excelsior!'`)\n4. Push to the branch (`git push origin nuff-said`)\n5. Create new Pull Request\n\n## License\n\nReleased under the [MIT License](http://opensource.org/licenses/MIT).","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feltercero%2Fuatu","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feltercero%2Fuatu","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feltercero%2Fuatu/lists"}