API to Import Fermentation Data

Discussion in 'Brew Sessions' started by OrbDog, Dec 26, 2019.

  1. OrbDog

    OrbDog New Member

    Joined:
    Oct 16, 2015
    Messages:
    11
    Likes Received:
    3
    Trophy Points:
    3
    Hello,

    I'd like to import my historical fermentation temps I've collected through a 3rd party device (Thermoworks Signal). I can place the data into the required CSV format, but I need some help with how to actually post it. Using a web browser to access my API as provided in my profile ( https://log.brewersfriend.com/stream/<API KEY>), is returning:
    {"message":"success","devices":[]}

    Would I need a separate program or macro to post each reading to the URL, do I pass an array, etc? I'm learning PYTHON and know Excel VBA quite well, so I could go that route. Any example code/macros would be appreciated.

    Also, is the Old API format still supported? I ask because it seems only its method supports the "created_at" tag, which I would use to time-tag the old temperature readings. Is there another method to time-tag historical data?

    Thanx!
     
  2. Ward Chillington

    Ward Chillington Well-Known Member

    Joined:
    Mar 24, 2018
    Messages:
    2,594
    Likes Received:
    4,855
    Trophy Points:
    113
    Occupation:
    Chief Brewer and Bottle Washer
    Location:
    South Central Pennsylvania
  3. Pricelessbrewing

    Pricelessbrewing BF Software Manager
    Staff Member

    Joined:
    Jun 8, 2016
    Messages:
    1,408
    Likes Received:
    1,214
    Trophy Points:
    113
    Gender:
    Male
    Sorry, I haven't interacted too much with the API's we have available. @Yooper, are you able to answer this?
     
  4. Yooper

    Yooper Administrator
    Staff Member

    Joined:
    Nov 16, 2013
    Messages:
    3,028
    Likes Received:
    2,342
    Trophy Points:
    113
    Gender:
    Female
    Occupation:
    Happily retired
    Location:
    Upper Michigan/Florida
    I can’t answer it, but I put the question to people much smarter than I am, and I will let you know!
     
    OrbDog likes this.
  5. OrbDog

    OrbDog New Member

    Joined:
    Oct 16, 2015
    Messages:
    11
    Likes Received:
    3
    Trophy Points:
    3
    Thanks for the feedback, all!

    @Yooper Thanks for escalating the question & hope the developers can shed some light. I’ll be standing by ;-)

    @Ward Chillington Yes, the alphabet soup can sound tasty. Let me know when you brew your API ;-p
     
  6. avantassel

    avantassel Active Member

    Joined:
    Jan 5, 2018
    Messages:
    159
    Likes Received:
    91
    Trophy Points:
    43
    Gender:
    Male
    Occupation:
    Brewer and Software Engineer
    Location:
    Lafayette, CO
    Home Page:
    There will be a CSV import for fermentation data but are waiting on our awesome QA team to finish signing off on it.
     
    Pricelessbrewing likes this.
  7. untapped_potential

    untapped_potential New Member

    Joined:
    Aug 19, 2019
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    Just following this thread since I am anxiously waiting for this feature.
     
  8. Pricelessbrewing

    Pricelessbrewing BF Software Manager
    Staff Member

    Joined:
    Jun 8, 2016
    Messages:
    1,408
    Likes Received:
    1,214
    Trophy Points:
    113
    Gender:
    Male

Share This Page

arrow_white