Initial commit

This commit is contained in:
rudder
2026-08-12 14:04:55 +03:00
commit 8cf738d9f0
124 changed files with 5433 additions and 0 deletions
+17
View File
@@ -0,0 +1,17 @@
using System.Threading;
using System.Threading.Tasks;
using RudderSdk.Core.Models.Player;
namespace RudderSdk.Core;
/// <summary>Player profile data.</summary>
public sealed class PlayerService
{
private readonly RudderClient _client;
internal PlayerService(RudderClient client) => _client = client;
/// <summary>Returns the player profile with wallets.</summary>
public Task<PlayerProfile> GetProfileAsync(CancellationToken cancellationToken = default)
=> _client.SendAsync<PlayerProfile>("GET", "/sdk/v1/player/information", cancellationToken);
}