🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Sign inDemoInstall
Socket

tarta-api

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tarta-api

1.0.1
Rubygems
Version published
Maintainers
1
Created
Source

TartaAPI-Ruby

Overview

TartaAPI-Ruby is a Ruby wrapper for the Tarta API, designed to seamlessly integrate AI-powered job search functionality into your applications.

API Documentation

For detailed API documentation, visit:
Tarta API Documentation

What is Tarta?

Tarta.ai is a sophisticated AI platform that consolidates job listings from a wide range of sources, including job boards and social media. The platform streamlines the job search experience, matching users with suitable vacancies and even facilitating interview scheduling.

To learn more, visit:
Tarta Official Website

ChatGPT Integration

Tarta is also available as a ChatGPT plugin to enhance your job search experience:
Tarta ChatGPT Plugin

Installation

To install TartaAPI-Ruby, add this line to your Gemfile:

gem 'tarta-api'

Then, execute:

bundle install

Or install it yourself with:

gem install tarta-api

Usage Example

Here's a simple example demonstrating how to use the library to execute a job search:

require 'tarta_api'

def search_jobs(title, size = 5)
  request = TartaAPI::JobSearchRequest.new(title: title, size: size)
  
  begin
    results = TartaAPI::JobSearchService.search_jobs(request)
    jobs = results[:jobs] || []

    if jobs.empty?
      puts "No job results found."
      return
    end

    puts "Job Search Results:"
    jobs.each do |job|
      job_name = job[:name] || "N/A"
      company = job[:companyName] || "N/A"
      location = job[:location] || {}
      city = location[:city] || "Unknown"
      state = location[:state] || "Unknown"
      country = location[:country] || "Unknown"
      source = job[:feed] || "N/A"
      posted_date = job[:created] || "N/A"

      puts "Job: #{job_name} at #{company}"
      puts "Location: #{city}, #{state}, #{country}"
      puts "Source: #{source}"
      puts "Posted: #{posted_date}\n"
    end

  rescue StandardError => e
    puts "Error fetching job results: #{e.message}"
  end
end

search_jobs("ruby", 2)

Key Features

  • Effortless API Integration: Interact with Tarta's API using straightforward Ruby methods.
  • AI Matching: Utilize AI algorithms to find jobs that align with user profiles and preferences.
  • Interview Scheduling: Automate interview scheduling to streamline the application process.

Contributions

Contributions are welcome! Feel free to open issues or submit pull requests to enhance the library.

License

This project is under the MIT License.

Experience the efficiency of Tarta and integrate AI-powered job search into your Ruby applications today!

FAQs

Package last updated on 11 Mar 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts