C# Plot API integration