TartaAPI 1.0.0

dotnet add package TartaAPI --version 1.0.0
                    
NuGet\Install-Package TartaAPI -Version 1.0.0
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="TartaAPI" Version="1.0.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="TartaAPI" Version="1.0.0" />
                    
Directory.Packages.props
<PackageReference Include="TartaAPI" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add TartaAPI --version 1.0.0
                    
#r "nuget: TartaAPI, 1.0.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#addin nuget:?package=TartaAPI&version=1.0.0
                    
Install TartaAPI as a Cake Addin
#tool nuget:?package=TartaAPI&version=1.0.0
                    
Install TartaAPI as a Cake Tool

TartaAPI-DotNet

Overview

TartaAPI-DotNet is a .NET library that provides a convenient interface for interacting with the Tarta API. Designed to seamlessly integrate AI-powered job search functionalities into your .NET applications.

API Documentation

For detailed API documentation, visit:
Tarta API Documentation

What is Tarta?

Tarta.ai is an advanced AI platform that aggregates job listings from various sources, including job boards and social media. It streamlines the job search process by matching users with suitable job vacancies and even assists with 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-DotNet via NuGet, use the following command in the NuGet Package Manager Console:

Install-Package TartaAPI

Usage Example

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

using TartaAPI;

class Program
{
    static async Task Main(string[] args)
    {
        await SearchJobsAsync("dotnet", 2);
    }

    static async Task SearchJobsAsync(string title, int size = 5)
    {
        var request = new JobSearchRequest { title = title, size = size };

        try
        {
            var results = await JobSearchService.SearchJobsAsync(request);
            var jobs = results.jobs;

            if (jobs == null || jobs.Count == 0)
            {
                Console.WriteLine("No job results found.");
                return;
            }

            Console.WriteLine("Job Search Results:");
            foreach (var job in jobs)
            {
                var jobName = job.name ?? "N/A";
                var company = job.companyName ?? "N/A";
                var location = job.location;
                var city = location?.city ?? "Unknown";
                var state = location?.state ?? "Unknown";
                var country = location?.country ?? "Unknown";
                var source = job.feed ?? "N/A";
                var postedDate = job.created ?? "N/A";

                Console.WriteLine($"Job: {jobName} at {company}");
                Console.WriteLine($"Location: {city}, {state}, {country}");
                Console.WriteLine($"Source: {source}");
                Console.WriteLine($"Posted: {postedDate}\n");
            }
        }
        catch (Exception e)
        {
            Console.WriteLine($"Error fetching job results: {e.Message}");
        }
    }
}

Key Features

  • Async API Integration: Effortlessly interact with Tarta's API using asynchronous methods, making your applications more responsive.
  • Structured Data Handling: Utilize strongly-typed objects and manage API responses effectively for a more robust solution.

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 .NET applications today!

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net8.0

    • No dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.0.0 158 3/11/2025