.NET SDK
This SDK is currently in development and not yet published. The API surface described below is planned. Use the REST API directly in the meantime.
The official .NET SDK for the Laddro Career API.
Installation
Package not yet published. Check back soon.
Quick Start
using Laddro.Career;
var client = new LaddroClient(apiKey: Environment.GetEnvironmentVariable("LADDRO_API_KEY")!);
// List templates
var templates = await client.Templates.ListAsync();
// Parse a resume
await using var file = File.OpenRead("resume.pdf");
var resume = await client.Resumes.ParseAsync(file, "resume.pdf");
// Tailor for a job
var result = await client.TailorAsync(new TailorParams
{
ResumeId = resume.Id,
JobDescription = "Senior Engineer at..."
});Streaming
await foreach (var ev in client.TailorStreamAsync(new TailorParams
{
ResumeId = "res_abc123",
JobDescription = "..."
}))
{
Console.WriteLine($"{ev.Section}: {ev.Content}");
}Error Handling
try
{
await client.Resumes.GetAsync("nonexistent");
}
catch (LaddroApiException ex)
{
Console.WriteLine(ex.Status); // 404
Console.WriteLine(ex.Message); // "Resume not found"
}Source
Last updated on