{"id":15561792,"url":"https://github.com/pwelch/urlvoid","last_synced_at":"2025-04-11T20:35:04.526Z","repository":{"id":35864026,"uuid":"40149113","full_name":"pwelch/urlvoid","owner":"pwelch","description":"Ruby Gem for URLVoid API","archived":false,"fork":false,"pushed_at":"2019-06-13T00:25:34.000Z","size":19,"stargazers_count":1,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-12-04T07:44:01.600Z","etag":null,"topics":["ruby","security"],"latest_commit_sha":null,"homepage":"https://pwelch.github.io/urlvoid","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/pwelch.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":"2015-08-03T21:35:58.000Z","updated_at":"2019-06-13T00:25:35.000Z","dependencies_parsed_at":"2022-08-17T22:55:26.667Z","dependency_job_id":null,"html_url":"https://github.com/pwelch/urlvoid","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pwelch%2Furlvoid","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pwelch%2Furlvoid/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pwelch%2Furlvoid/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pwelch%2Furlvoid/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pwelch","download_url":"https://codeload.github.com/pwelch/urlvoid/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":228823725,"owners_count":17977498,"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":["ruby","security"],"created_at":"2024-10-02T16:09:58.925Z","updated_at":"2024-12-09T02:41:20.219Z","avatar_url":"https://github.com/pwelch.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# URLVoid API Gem\n\nRuby Gem for [URLVoid API](http://www.urlvoid.com/api/).\n\n[![Gem Version](https://badge.fury.io/rb/urlvoid.svg)](http://badge.fury.io/rb/urlvoid)\n[![CircleCI](https://circleci.com/gh/pwelch/urlvoid.svg?style=svg)](https://circleci.com/gh/pwelch/urlvoid)\n\n\n## Installation\n\nAdd this line to your application's Gemfile:\n\n```ruby\ngem 'urlvoid'\n```\n\nAnd then execute:\n\n    $ bundle\n\nOr install it yourself as:\n\n    $ gem install urlvoid\n\n## Usage\n\n### URLVoid Host Response\n\n```ruby\nrequire 'urlvoid'\n\napi_key = 'MY_API_KEY'\n\nurlvoid = URLVoid::Host.info(api_key, 'google.com')\n\n# API Response\nurlvoid.response\n# =\u003e\n{\"details\"=\u003e\n  {\"host\"=\u003e\"google.com\",\n   \"updated\"=\u003e\"1438544337\",\n   \"http_response_code\"=\u003e\"200\",\n   \"domain_age\"=\u003e\"874296000\",\n   \"google_page_rank\"=\u003e\"9\",\n   \"alexa_rank\"=\u003e\"1\",\n   \"connect_time\"=\u003e\"0.028592\",\n   \"header_size\"=\u003e\"840\",\n   \"download_size\"=\u003e\"44685\",\n   \"speed_download\"=\u003e\"309084\",\n   \"external_url_redirect\"=\u003enil,\n   \"ip\"=\u003e\n    {\"addr\"=\u003e\"216.58.211.78\",\n     \"hostname\"=\u003e\"par03s14-in-f14.1e100.net\",\n     \"asn\"=\u003e\"15169\",\n     \"asname\"=\u003e\"Google Inc.\",\n     \"country_code\"=\u003e\"US\",\n     \"country_name\"=\u003e\"United States\",\n     \"region_name\"=\u003e\"California\",\n     \"city_name\"=\u003e\"Mountain View\",\n     \"continent_code\"=\u003e\"NA\",\n     \"continent_name\"=\u003e\"North America\",\n     \"latitude\"=\u003e\"37.4192\",\n     \"longitude\"=\u003e\"-122.057\"}},\n \"detections\"=\u003e{\"engines\"=\u003e{\"engine\"=\u003e\"PhishTank\"}, \"count\"=\u003e\"1\"},\n \"page_load\"=\u003e\"0.00\"}\n\n# API Reponse Detections\nurlvoid.detections\n# =\u003e  {\"engines\"=\u003e{\"engine\"=\u003e\"PhishTank\"}, \"count\"=\u003e\"1\"}\n```\n\n### URLVoid API Queries Remaining\n\n```ruby\nrequire 'urlvoid'\n\napi_key = 'MY_API_KEY'\n\nURLVoid::Stats.remaining_queries(api_key)\n# =\u003e 901\n```\n\n## Contributing\n\n1. Fork it ( https://github.com/pwelch/urlvoid/fork )\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","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpwelch%2Furlvoid","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpwelch%2Furlvoid","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpwelch%2Furlvoid/lists"}