# Wanted: simple MacOS Terminal script to add datapoints

**URL:** <https://forum.beeminder.com/t/wanted-simple-macos-terminal-script-to-add-datapoints/10231>\
**Category:** Tech\
**Created:** [March 15, 2022, 10:09pm UTC](https://forum.beeminder.com/t/wanted-simple-macos-terminal-script-to-add-datapoints/10231 "2022-03-15T22:09:22Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![philip](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.beeminder.com/philip/32/1505_2.png) [@philip](https://forum.beeminder.com/u/philip)\
**Post date:** [March 15, 2022, 10:09pm UTC](https://forum.beeminder.com/t/wanted-simple-macos-terminal-script-to-add-datapoints/10231/1 "2022-03-15T22:09:22Z")

</div>

For years I’ve used @lydgate’s python script to add datapoints, but yesterday I updated to the latest MacOS minor version and they seem to have quietly removed python2. Fair play, it’s been being replaced since 2008 and turns out it was officially discontinued nearly two years ago, but I could have wished for them to do that at a major OS release.

My first point of call is probably just to see whether it works using python3, and then to wrap the perl bmndr library that I use for TagTime and other scripts.

But I thought I should ask the fine folks on here: what do you use to beemind from the command line?

---

<div class="post-metadata">

**Author:** ![dreev](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.beeminder.com/dreev/32/4311_2.png) [@dreev](https://forum.beeminder.com/u/dreev)\
**Post date:** [March 16, 2022, 5:15am UTC](https://forum.beeminder.com/t/wanted-simple-macos-terminal-script-to-add-datapoints/10231/2 "2022-03-16T05:15:15Z")

</div>

I think the cool kids use @malcolm’s nodejs client for command line access to Beeminder:

> **[GitHub - malcolmocean/beeminderjs: NodeJS wrapper for Beeminder API](https://github.com/malcolmocean/beeminderjs#install-as-a-command-line-tool)**
>
> NodeJS wrapper for Beeminder API. Contribute to malcolmocean/beeminderjs development by creating an account on GitHub.

---

<div class="post-metadata">

**Author:** ![alys](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.beeminder.com/alys/32/4726_2.png) [@alys](https://forum.beeminder.com/u/alys)\
**Post date:** [March 16, 2022, 7:29am UTC](https://forum.beeminder.com/t/wanted-simple-macos-terminal-script-to-add-datapoints/10231/3 "2022-03-16T07:29:57Z")

</div>

I use [lydgate’s bmndr](https://github.com/lydgate/bmndr) too and I’ve just switched it to python3. It still works for fetching recent datapoints and submitting datapoints.

---

<div class="post-metadata">

**Author:** ![philip](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.beeminder.com/philip/32/1505_2.png) [@philip](https://forum.beeminder.com/u/philip)\
**Post date:** [March 16, 2022, 12:56pm UTC](https://forum.beeminder.com/t/wanted-simple-macos-terminal-script-to-add-datapoints/10231/4 "2022-03-16T12:56:52Z")

</div>

I guess that tells me how long I’ve been using it, because mine didn’t but the most recent version (from seven years ago!) works just fine. Now to figure out how I hacked it to let me omit the datapoint if it’s 1…
