Why It Matters
Solar energy is driving the transition to a renewable-powered grid, and developers are building the tools and platforms that will make that happen. Solcast is excited to announce the launch of our C# SDK, designed specifically for C# and .NET developers building applications for the solar and energy industries. This release makes integrating Solcast's solar-specific APIs faster, easier, and more reliable—allowing you to focus on delivering impactful products.
Key Features of the C# SDK
- Full API Support: Access all Solcast API endpoints, including Live, Forecast, Time Series, and TMY.
- Developer-Friendly Tools: Built-in error handling and debugging tools streamline development.
- Documentation-Ready: Comprehensive guides and resources to get started quickly.
The Solcast API was built to be seamlessly integrated, delivering the data needed right into the project, application, tool or platform that is being used to track, design, build and manage solar projects. By making integration easier, we hope to enable broader adoption of solar data, meaning you can spend more time building your application, and less time troubleshooting integration bugs.
With the new C# SDK, developers can:
- Save time on integration and focus on building impactful products.
- Deliver precise, bankable insights to drive the energy transition.
- Play a critical role in accelerating renewable energy adoption.
How to Get Started
The SDK is available now on GitHub. Review the documentation and start testing Solcast data.
Here's how you can start using it:
Installing the SDK
To install the SDK, add the package to your project using the following command:
dotnet add package Solcast
Fetching Live Radiation and Weather Data:
using Solcast.Clients;
var liveClient = new LiveClient();
var response = await liveClient.GetRadiationAndWeather(
latitude: -33.856784,
longitude: 151.215297,
outputParameteres: ["air_temp", "dni", "ghi" ]
);
To get an API key, and start testing with unmetered locations, sign up here.
Want some more detail or further evaluation data access? Speak with our team.