{"id":17272558,"url":"https://github.com/rubyist/mcbans","last_synced_at":"2025-04-14T08:20:47.677Z","repository":{"id":2121540,"uuid":"3064101","full_name":"rubyist/mcbans","owner":"rubyist","description":"Access the MCBans API from ruby","archived":false,"fork":false,"pushed_at":"2011-12-28T17:53:38.000Z","size":84,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-03-27T21:52:06.600Z","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":"isc","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rubyist.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}},"created_at":"2011-12-28T17:53:04.000Z","updated_at":"2014-05-04T06:19:20.000Z","dependencies_parsed_at":"2022-09-09T19:11:08.227Z","dependency_job_id":null,"html_url":"https://github.com/rubyist/mcbans","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rubyist%2Fmcbans","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rubyist%2Fmcbans/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rubyist%2Fmcbans/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rubyist%2Fmcbans/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rubyist","download_url":"https://codeload.github.com/rubyist/mcbans/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248844036,"owners_count":21170505,"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-15T08:48:55.353Z","updated_at":"2025-04-14T08:20:47.644Z","avatar_url":"https://github.com/rubyist.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# MCBans\n\nA simple library for accessing the MCBans API from Ruby.\n\n## Install\n\ngem install mcbans\n\n## Usage\n\n```\nmcbans = MCBans.new('yourapikey')\nplayer = mcbans.lookup('rubyist')\nputs player.reputation #=\u003e 10\n\nmcbans.unban('foobar')\nmcbans.global_ban('foobar', 'admin', 'griefing')\nmcbans.local_ban('foobar', 'admin', 'griefing')\n```\n\n## Development\n\n- Source hosted at [GitHub](https://github.com/rubyist/mcbans)\n- Report issues and feature requests to [GitHub Issues](https://github.com/rubyist/mcbans/issues)\n\n## License\n\n(The MIT License)\n\nCopyright (c) 2011 Scott Barron\n\nPermission to use, copy, modify, and/or distribute this software for any\npurpose with or without fee is hereby granted, provided that the above\ncopyright notice and this permission notice appear in all copies.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES\nWITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF\nMERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR\nANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES\nWHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN\nACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF\nOR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frubyist%2Fmcbans","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frubyist%2Fmcbans","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frubyist%2Fmcbans/lists"}