Skip to content

ukd1/baremetrics-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

baremetrics-cli

A super simple, pretty terrible client for Baremetrics. This is un-official.

I use it with uebersicht and a custom widget I should release. It just dumps JSON, so you can use it for whatever.

Building

go build baremetrics-cli.go
mv baremetrics-cli /usr/local/bin/

Usage

You'll need to fetch your cookie from Baremetrics using your browser:

  1. Open the dashboard in Chrome
  2. Open the developer tools (cmd + opt + i)
  3. Reload
  4. Select the first entry
  5. Copy the cookie out of the request headers
$ baremetrics-cli -cookie '<the cookie text you copied from step 5>'

Enjoy fresh JSON from baremetrics - currently only supports 30 day MRR.

Contributing

  1. Fork
  2. Pull request
  3. Teach me how to test things plz

kthxbai

About

Baremetrics CLI API client by

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages