https://github.com/tarta-ai/tartaapi-ruby
TartaAPI-Ruby is a Ruby gem facilitating seamless connection to Tarta's AI-enhanced job search features, perfectly suited for Ruby applications.
https://github.com/tarta-ai/tartaapi-ruby
api-wrapper job-search ruby rubygems
Last synced: 6 months ago
JSON representation
TartaAPI-Ruby is a Ruby gem facilitating seamless connection to Tarta's AI-enhanced job search features, perfectly suited for Ruby applications.
- Host: GitHub
- URL: https://github.com/tarta-ai/tartaapi-ruby
- Owner: tarta-ai
- License: mit
- Created: 2025-03-11T05:36:56.000Z (7 months ago)
- Default Branch: master
- Last Pushed: 2025-03-11T12:55:50.000Z (7 months ago)
- Last Synced: 2025-04-12T16:59:05.292Z (6 months ago)
- Topics: api-wrapper, job-search, ruby, rubygems
- Language: Ruby
- Homepage: https://tarta.ai
- Size: 2.93 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# 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](https://api.tarta.ai/swagger/index.html)## 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](https://tarta.ai/)## ChatGPT Integration
Tarta is also available as a ChatGPT plugin to enhance your job search experience:
[Tarta ChatGPT Plugin](https://chat.openai.com/g/g-Gkf9YM4sR-job-search-in-the-us)## Installation
To install TartaAPI-Ruby, add this line to your Gemfile:
```ruby
gem 'tarta-api'
```
Then, execute:
```sh
bundle install
```
Or install it yourself with:
```sh
gem install tarta-api
```## Usage Example
Here's a simple example demonstrating how to use the library to execute a job search:```ruby
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
endputs "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"
endrescue StandardError => e
puts "Error fetching job results: #{e.message}"
end
endsearch_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!