Woothee

User-Agent parser/classifier for multi languages

GitHub Repository

What's this?

User-agent string parser for many languages, which does: Woothee implementations are:

Why new project?

We needs just same logic over 2 or more programming languages, for use on various frameworks, middlewares and environments.
Most important data of this project is only single set of return values, and set of test cases, for equality of results of another languages implementations.

Demo

User-Agent String:


Parse result:

langnamecategoryosversionos_versionvendor
js
java
ruby
node
python
php
go

Feedback

Please add issues here if you found wrong result for any user-agents.
Or, tell @tagomoris simply.