Skip to content

An unofficial C# client for Daybreak Game Company's Census API.

License

Notifications You must be signed in to change notification settings

carlst99/DbgCensus

Repository files navigation

DbgCensus Icon

DbgCensus

DbgCensus is a C# wrapper for Daybreak Game Company's Census API. It was built with PlanetSide 2's endpoints in mind, but should work across all namespaces.

Want to chat with developers of all things Census related? Come say hello in the Planetside Community Developers Discord!
Discord

This package is unofficial and is not affiliated with Daybreak Games Company in any way.

Nuget | DbgCensus.Core - Core data types and utilities.
Nuget | DbgCensus.Rest - Services for interacting with the query endpoints.
Nuget | DbgCensus.EventStream - Base services for interacting with the event streaming API.
Nuget | DbgCensus.EventStream.EventHandlers - An abstraction of DbgCensus.EventStream providing an asynchronous and decoupled event handling model.


Features

  • Fluent query building API.
  • Event dispatch/handling system and built-in event stream types.
  • Fully asynchronous.
  • Built around the Microsoft.Extensions framework.
  • Targeting .NET 6.0.

Documentation

Head over to the documentation website to get started with DbgCensus.

Samples

Check out the samples to get up and running quickly with DbgCensus. These demonstrate typical usage of the libraries within the Generic Host framework.

The EventStreamSample utilises DbgCensus' event handling framework. If you'd prefer to use another method of dispatching and handling events, you'll need to extend the BaseEventStreamClient instead, and register it yourself using the AddCensusEventStreamServices extension method.

Event Streaming

I haven't gotten around to documenting this yet! Please check out the Event Stream Sample in the meantime 🙂.