using System.Net.Http.Headers; public sealed class LeasvioClient{readonly HttpClient http;public LeasvioClient(string key,string endpoint="https://api.leasv.io/v1"){http=new HttpClient{BaseAddress=new Uri(endpoint)};http.DefaultRequestHeaders.Authorization=new AuthenticationHeaderValue("Bearer",key);}public async Task GetAsync(string path,CancellationToken cancellationToken=default){using var response=await http.GetAsync(path,cancellationToken);var body=await response.Content.ReadAsStringAsync(cancellationToken);if(!response.IsSuccessStatusCode)throw new HttpRequestException(body,null,response.StatusCode);return body;}}