In my last post I worked out how to grab data from Exist, using oAuth 2. In this post, I’ll take the data from the Exist API, convert it into markdown, ready for integrating into a Slogger plugin. Unfortunately, due to me running out of time contracting the plugin will have to wait until part three! Recap At the end of the last post, I had a way to authenticate with Exist and get back a token which could be used to make requests for data.
After writing a simple Slogger plugin for MyFitnessPal I was keen to add more plugins for services I use, and so an obvious target was exist.io. A lifelogger and activity correlator I’ve written about before. Exist has an API, along with some very shiny and user friendly API docs, so I set about learning how to grab the data I need. From the start, I knew this would be a bit more involved than just munging some publicly accessible HTML from MFP, so decided to handle the tasks in two main chunks.
I’ve been using MyFitnessPal (MFP) to log exercise and food for a couple of weeks (before that I tried SparkPeople but the app was buggy and the food database wasn’t great), and I really like knowing exactly how many more calories I can eat, as well as keep track of exercise and weight. Now, it’s great to be able to log stuff using an app with a barcode scanner, and then view stats and info online, but I don’t like the idea of my data all being locked away and belonging to someone else, and what it I want to use a different service?
The last few weeks have seen a lot of exceptional new releases. Hardly a day goes by when Apple Music’s New page doesn’t have some juicy metal to digest. We’ve seen albums from Haken, Deftones, Desaster, Cult of Luna & Julie Christmas and Painted Wives. Some of these are excellent albums, but for this post I want to step slightly outside the world of mainstream metal and focus on some slightly difference releases.
There’s no doubt in my mind that journalling is a really useful thing to do, both for personal logging and keeping track of progress and decisions at work. I’ve spent a bit of time experimenting, and I’ve tried various logging and journalling apps, including Quiver, Ulysses, rolling my own using vim and one of the most popular Mac Journalling apps, Day One. All of these have pros and cons, and for various reasons I can never settle into sticking to just one methodology, so I’m currently using Day One for personal logging, helped along by Slogger (mentioned previously in my post on Mac Dev Tools).