Skip to content

Latest commit

 

History

History
16 lines (12 loc) · 739 Bytes

README.md

File metadata and controls

16 lines (12 loc) · 739 Bytes

dstk-net

A c# wrapper for the Data Science Toolkit APIs. Only street2coordinates has been implemented thus far so there is much more work to do.

Uses the fastest JSON serializer for .NET which is the ServiceStack JsonSerializer in the ServiceStack.Text project.

Example usage:

DSTK dstk = new DSTK();
dstk.DSTK_API_BASE = @"http://your.dstk.instance/";
var results = dstk.street2coordinates("8852 W. Sunset Blvd, Los Angeles, CA 90069");
Console.WriteLine("latitude: " +results.location.First().latitude);
Console.WriteLine("longitude: " +results.location.First().longitude);