Update docs

This commit is contained in:
grym 2022-01-21 21:34:09 -05:00
parent 3b8fa75619
commit 60a23b6c81
1 changed files with 19 additions and 19 deletions

View File

@ -5,19 +5,19 @@ number of unique visitors than the USPS package tracking system does.
Display your results in the terminal every 10 minutes:
- As JSON:
#+begin_src bash
user@host:~$fedmon --format json
{
"sites": [
{
"datetime": "2022-01-21T21:30:38.308841",
"active_visitors": 16748,
"page_title": "COVID Home Tests | USPS",
"page": "special.usps.com/testkits"
}
]
}
#+end_src
#+begin_src bash
user@host:~$fedmon --format json
{
"sites": [
{
"datetime": "2022-01-21T21:30:38.308841",
"active_visitors": 16748,
"page_title": "COVID Home Tests | USPS",
"page": "special.usps.com/testkits"
}
]
}
#+end_src
- As CSV
#+begin_src bash
@ -27,9 +27,9 @@ Display your results in the terminal every 10 minutes:
#+end_src
- Or as any format supported by [[https://github.com/astanin/python-tabulate#table-format][tabulate]]:
#+begin_src bash
user@host:~$fedmon --format orgtbl
| datetime | active_visitors | page_title | page |
|----------------------------+-------------------+-------------------------+---------------------------|
| 2022-01-21T21:12:04.025628 | 17714 | COVID Home Tests | USPS | special.usps.com/testkits |
#+end_src
#+begin_src bash
user@host:~$fedmon --format orgtbl
| datetime | active_visitors | page_title | page |
|----------------------------+-------------------+-------------------------+---------------------------|
| 2022-01-21T21:12:04.025628 | 17714 | COVID Home Tests | USPS | special.usps.com/testkits |
#+end_src