PeterSmith.Org

Smashrun 2 blog

    Having moved away from using Facebook, I wanted to keep a record of my running, primarily for my own use. Although I do have all my runs on SmashRun, I decide to keep my runs on this site too.

    And so, BlogMyRun was born.

    This python programme allows me to:

    • Drag down all my runs from SmashRun and reformat them for this Hugo-based blog.
    • Drag down runs for the past n-days

    My Makefile then moves the .md and .png files to the right place on my filesystem, and then deploys the new posts to the web (in my case, hosting them on Amazon's S3).

    All this was made possible by the very cool SmashRun API. I do not have all the authorization code (or any actually) working yet. I use SmashRun's API explorer to get the token I need … see the README.md file for notes on what to do.

    I have also used the Google Static Map API to show the run. It is customised the way I like it :)

    I plan to build an extension to create monthly, 'macro-logs' in a similar vein to fellrnr.


    Webmentions
    If you webmention this page, please let me know the URL of your page.

    BTW: Your webmention won't show up until I next "build" my site.

    Word count: 200 (about 1 minutes)

    Published:

    Updated: 12 Jun '17 16:47

    Author: Peter Smith

    Permalink: https://petersmith.org/blog/2017/06/12/smashrun-2-blog/

    Section: blog

    Kind: page

    Bundle type: leaf

    Source: blog/2017/06/12/smashrun-2-blog/index.org