Skip to content

syncromatics/Syncromatics.Clients.WaySine

Repository files navigation

Syncromatics.Clients.WaySine

A .NET library to interact with the WaySine WayManager API to query for sign status updates.

Quickstart

Add the Syncromatics.Clients.WaySine package to your project:

dotnet add package Syncromatics.Clients.WaySine

Then, create a ClientSettings object to specify your server's root URL and use it to initialize a WayManagerClient.

using Syncromatics.Client.WaySine;

var clientSettings = new ClientSettings(serverRootUrl: "http://example.com/");
IWayManagerClient client = new WayManagerClient(clientSettings);

// to get information about every sign available:
var allSigns = await client.GetAllSignsAsync();

// to get information about a particular sign:
const int signId = 42;
var onlyOneSign = await client.GetSignAsync(signId);

Building

Travis NuGet NuGet Pre Release

This library is built using Cake.

Build and test on Windows

build.ps1 -Experimental

Build and test on Linux

./build.sh

Code of Conduct

We are committed to fostering an open and welcoming environment. Please read our code of conduct before participating in or contributing to this project.

Contributing

We welcome contributions and collaboration on this project. Please read our contributor's guide to understand how best to work with us.

License and Authors

GMV Syncromatics Engineering logo GMV Syncromatics Engineering

license GitHub contributors

This software is made available by GMV Syncromatics Engineering under the MIT license.