This project is read-only.
You need to make few simple steps for using this lib:

First you need to install nuget package "Install-Package Freebase4net"
Then add line to .cs file
   using Freebase4net;
After you can start using lib.

Create MqlReadService:
      MqlReadService readService = FreebaseServices.CreateMqlReadService();
Write simple query:
      dynamic artist= new ExpandoObject();
      artist.type = "/music/artist";
      artist.name = FreebaseHelpers.Operators.CreateLikeOperator("^The Sco*$");
Then run query:
    var result = _readService.Read(artist);
Or in async way:
    MqlReadServiceResponse result = await _readService.ReadAsync(artist);
And process results:
    var type = result.Results[0].type;
    var resultAsString = result.ResultAsString;
    var status = result.Status;

Last edited Dec 29, 2012 at 1:17 PM by F0rc0sigan, version 3

Comments

No comments yet.