Remove InfluxDB and add /api/v1/playerCount (#664)

* Add /playerCount api

* Modify /playerCount api response

* Remove all InfluxDB components
This commit is contained in:
Josh 2023-02-12 23:37:26 -06:00 committed by GitHub
parent e93aea1977
commit c8120b3388
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 51 additions and 142 deletions

View file

@ -0,0 +1,13 @@
namespace LBPUnion.ProjectLighthouse.Servers.API.Responses;
public class PlayerCountObject
{
public string Game { get; set; } = "";
public int PlayerCount { get; set; }
}
public class PlayerCountResponse
{
public int TotalPlayerCount { get; set; }
public List<PlayerCountObject> Games { get; set; } = new();
}