Got query to return data.

This commit is contained in:
Dan
2025-05-11 20:09:07 -07:00
parent 8b78a180a4
commit b7c9ed2904
8 changed files with 190 additions and 34 deletions
+14
View File
@@ -0,0 +1,14 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net9.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="..\Polygon.Client\Polygon.Client.csproj" />
</ItemGroup>
</Project>
+12
View File
@@ -0,0 +1,12 @@
using Polygon.Client;
Console.WriteLine("Start");
var client = new PolygonClient("");
var request = new AllTickersRequest();
var result = await client.GetAllTickersAsync(request);
var a = result.Results.ToList();
Console.WriteLine(result.Status);
Console.WriteLine("End");
Console.ReadKey();