f# - Custom data request in Freebase provider for FSharp.Data -


i'm using fsharp.data dll , it's pretty cool, have found limitations , maybe knows how make. i'm trying retrieve data page freebase page of london , provider easey access travel destination data of place this:

let extract mid =let freebasecontext = freebasedatawithkey.getdatacontext()                  let place = freebasecontext.commons.travel.``travel destinations``.where(     fun x-> x.machineid = mid) |> seq.tolist      

this great, but, since london isn't travel destination ( dated location, filming location...) extract data have go each collection of provider , search it. example if want know wich sports teams in londond have make request again this:

let sports = freebasecontext.commons.sports.``sports team locations``.where( fun x-> x.machineid = mid) |> seq.tolist |> seq.head                  let teams = sports.teams.tolist(); 

and each , every data property want access, expensive since have make lot of requests server , it's easy exceed request-limit in google. there way, make provider retrieve data page in 1 request? thank you!

if have custom needs, can try use functionality in freebaseruntime directly, though it's not documented


Comments

Popular posts from this blog

android - Get AccessToken using signpost OAuth without opening a browser (Two legged Oauth) -

org.mockito.exceptions.misusing.InvalidUseOfMatchersException: mockito -

google shop client API returns 400 bad request error while adding an item -