private static async Task FetchAndSaveData <T>(PoeTradeClient client) { var data = await client.Fetch <T>(); File.WriteAllText(Path.Join( "..", "..", "..", "..", "Sidekick.TestInfrastructure", "TestData", $"{typeof(T).Name}.json"), JsonSerializer.Serialize(data, client.Options)); }
public CachedPoeTradeClient(PoeTradeClient innerClient) { this.innerClient = innerClient; }