dwyl / dwyl/user_agent

Create Micro-package to Flatten/Format `user_agent` data for `ATM`

Open
#1 6 comments 0 reactions 1 assignee Claimed by @nelsonic View on GitHub
chore documentation elixir enhancement good first issue help wanted in-progress priority-1 research T2h technical
Dominant language
Elixir
Stars
1
Forks
0
PR merge metrics
No merged PRs in 30d

Description

`while` reading the code: https://github.com/elixir-inspector/ua_inspector/blob/master/lib/ua_inspector.ex
and tests: https://github.com/elixir-inspector/ua_inspector/blob/master/test/ua_inspector/database/init_test.exs

I decided to create a _thin_ wrapper that flattens the `user_agent` data into the format that we need.

Spoiled for choice on package names:

https://hex.pm/packages/ua
image

https://hex.pm/packages/user_agent
image

# Todo

+ [ ] Create `ua` package following our usual template 🆕
+ [ ] Flatten/format the data we need and return as `Map` 🧑‍💻
+ [ ] Write _extensive_ tests using available `user_agent` data
+ [ ] Publish `ua` package to `Hex.pm` 📦
+ [ ] Use `ua` in `ATM` :shipit:

P.S: Sponsoring https://github.com/mneudert for as long as we use the fine work he has done. `#first`

image

Just a way to say "thanks" for the `code`. 🙏

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.