{"id":17775517,"url":"https://github.com/mjonuschat/useragent_parser","last_synced_at":"2025-04-01T16:25:43.762Z","repository":{"id":1666697,"uuid":"2393398","full_name":"mjonuschat/useragent_parser","owner":"mjonuschat","description":"A port of the useragent parser used by browserscope.org to ruby","archived":false,"fork":false,"pushed_at":"2014-07-25T08:58:03.000Z","size":540,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-03T09:03:06.440Z","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":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mjonuschat.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-09-15T15:42:03.000Z","updated_at":"2021-03-29T04:24:25.000Z","dependencies_parsed_at":"2022-09-03T21:24:13.531Z","dependency_job_id":null,"html_url":"https://github.com/mjonuschat/useragent_parser","commit_stats":null,"previous_names":["yabawock/useragent_parser"],"tags_count":10,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mjonuschat%2Fuseragent_parser","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mjonuschat%2Fuseragent_parser/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mjonuschat%2Fuseragent_parser/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mjonuschat%2Fuseragent_parser/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mjonuschat","download_url":"https://codeload.github.com/mjonuschat/useragent_parser/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246669439,"owners_count":20814817,"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-26T21:57:44.434Z","updated_at":"2025-04-01T16:25:43.739Z","avatar_url":"https://github.com/mjonuschat.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# UseragentParser [![Build Status](https://secure.travis-ci.org/yabawock/useragent_parser.png)](http://travis-ci.org/yabawock/useragent_parser)\n\nUseragentParser is a library to detect useful information contained\nwithin the Useragent Header transmitted by modern web clients.\n\n# Usage\n\n    require 'useragent_parser'\n    ua = UseragentParser.parse('Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_4; en-US) AppleWebKit/525.13 (KHTML, like Gecko) Chrome/8.0.552.237 Safari/525.13')\n\nThis will return a hash containing the following keys:\n\n  **family** - The browser family\n  **v1**     - The major browser version\n  **v2**     - The minor browser version\n  **v3**     - The patch level of the browser\n  **os_family**   - The operating system\n  **os_v1**       - The major operating system version\n  **os_v2**       - The minor operating system version\n  **os_v3**       - The patch level of the operating system\n\nIn the case that the **family** or **os_family** is unknown, 'Other' will be\nreturned. The version components will return _nil_ in the case that the\nrespective version level in undetectable.\n\n# Additional information\n\nThis is a port of the Python [ua-parser](http://code.google.com/p/ua-parser/) library.\n\n## Maintainers\n\n * Morton Jonuschat ([github.com/yabawock](https://github.com/yabawock))\n\n# License\n\nCopyright 2011 Morton Jonuschat\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n   http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmjonuschat%2Fuseragent_parser","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmjonuschat%2Fuseragent_parser","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmjonuschat%2Fuseragent_parser/lists"}