The project is in a healthy, maintained state
A Ruby client for interacting with the Lokalise Vantage API.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
 Dependencies

Runtime

~> 1.9
~> 3.17
~> 2.8
 Project Readme

Ruby SDK for Lokalise API

Gem CI Code Coverage Maintainability

Opinionated Ruby SDK for the Lokalise Vantage API.

The lokalise-api-next gem provides a Ruby interface for working with Lokalise Vantage resources. It handles authentication, HTTP requests, response parsing, and API errors, and returns Ruby models and collections.

Requirements

  • Ruby 3.4 or newer
  • A Lokalise API token with access to Vantage

Installation

Add the gem to your Gemfile:

gem 'lokalise-api-next'

Then run:

bundle install

Usage

Create a client using your Lokalise API token:

require 'lokalise_api_next'

client_vantage = LokaliseApiNext.client_vantage(
  ENV.fetch('LOKALISE_VANTAGE_TOKEN')
)

For example, retrieve a project:

project = client_vantage.project('project-id')

puts project.name
puts project.description

Or list projects belonging to a team:

projects = client_vantage.projects('team-id', limit: 20)

projects.each do |project|
  puts "#{project.project_id}: #{project.name}"
end

The SDK also supports configurable timeouts, automatic retries, proxies, and persistent HTTP connections.

Documentation

See the GitHub Wiki for usage examples, client configuration, pagination, and available API operations.

Development and testing

Clone the repository and install dependencies:

bundle install

Run the test suite:

bundle exec rspec

Run RuboCop:

bundle exec rubocop

The tests use RSpec and WebMock to simulate API responses, so a real API token is not required.

License

(c) 2026 Lokalise group, Elijah S. Krukowski, BSD 3 Clause license.