Skip to content

A tel.search.ch api C# client library

License

Notifications You must be signed in to change notification settings

psollberger/TelSearchApi

Repository files navigation

TelSearchApi CI

An API-Wrapper for tel.search.ch Queries

See: https://tel.search.ch/api/help

Available on NuGet: https://www.nuget.org/packages/TelSearchApi/

Example

var client = new TelSearchClient("<api key, empty string or null>");
var query = new TelSearchQuery(client)
{
    Query = "<general search term>",
    Language = "de"
};
var response = await query.ExecuteAsync();
//Or if it's not possible to use await
//var response = query.ExecuteAsync().GetAwaiter().GetResult();