Created a topPages function to obtain data from the Linkscape web service api's top-pages endpoint.