I am trying to run a Google pagespeed api request via a VB.Net WindowsForm app and though i can get a response back for the below request i cannot workout how to get it work with a Mobile strategy.
here is my working code for a desktop request:
Dim url As String = "http://news.bbc.co.uk"
Dim service = New PagespeedonlineService(New BaseClientService.Initializer() With { _
.ApiKey = "My Api Code", _
.ApplicationName = "PageSpeedOnline API Sample" _
})
Dim res = service.Pagespeedapi.Runpagespeed(url).Execute()
Here is a link to googles pagespeed page: https://developers.google.com/speed/docs/insights/v1/getting_started
Note I am visual studio 2012 with Nuget package for the api.