Page Rank REST API from Excel and Google Apps Script

I haven’t posted anything on new entries to the rest-excel-gas library for a while. As I mentioned in this post the library itself is available as a rest query. There have been quite a number of new APIs added lately through forum requests, but here is a nice one – populate a worksheet with the Google Page Ranks of a list of given domains. (you just enter the domains you want, the library call fills in the rest)

Aside from the dismal page ranks given for my own site and blog, I think this is a pretty cool api.

Here’s the Excel version, implemented in the cDataSet.xlsm workbook downloadable from the ramblings site.

Public Sub testPageRank()
    generalDataSetQuery "page rank", "page rank", "domain"
End Sub

 

And the Google Apps Script version, available for you to make a copy of the workbook here.

function testPageRank() {
    mcpher.generalDataSetQuery ( "page rank", "page rank", "domain");   }

For more stuff like this visit the blog or 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.