Huffington Post polls results directly into Excel

I noticed this morning that Huffington post released a REST API exposing all their polling results. I’ve added that to the Excel-Rest library so you can get the results of all their polls directly into Excel (and Google Docs).

Here’s the basic library entry, which you can tweak to introduce queries for filtering and so on if you need to.


With .add("huffingtonpost elections")
            .add "restType", erRestType.erSingleQuery
            .add "url", ""
            .add "results", ""
            .add "treeSearch", True
            .add "ignore"
        End With


Setting up a selection of column headers gives us something like this

To download the workbook and learn more about other Rest API integrations, visit the ramblings site.

About brucemcp 225 Articles
I am a Google Developer Expert and decided to investigate Google Apps Script in my spare time. The more I investigated the more content I created so this site is extremely rich. Now, in 2019, a lot of things have disappeared or don’t work anymore due to Google having retired some stuff. I am however leaving things as is and where I came across some deprecated stuff, I have indicated it. I decided to write a book about it and to also create videos to teach developers who want to learn Google Apps Script. If you find the material contained in this site useful, you can support me by buying my books and or videos.