Skip to Content
SDKsRuby

Ruby 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 Ruby SDK for the Laddro Career API.

Installation

Package not yet published. Check back soon.

Quick Start

require 'laddro/career' client = Laddro::Career::Client.new(api_key: ENV['LADDRO_API_KEY']) # List templates templates = client.templates.list # Parse a resume resume = client.resumes.parse(File.open('resume.pdf')) # Tailor for a job result = client.tailor( resume_id: resume.id, job_description: 'Senior Engineer at...' )

Streaming

client.tailor( resume_id: 'res_abc123', job_description: '...', stream: true ) do |event| puts "#{event.section}: #{event.content}" end

Error Handling

begin client.resumes.get('nonexistent') rescue Laddro::Career::ApiError => e puts e.status # 404 puts e.message # "Resume not found" end

Source

github.com/laddro-app/laddro-career-sdk-ruby 

Last updated on