All Projects → lokalise → ruby-lokalise-api

lokalise / ruby-lokalise-api

Licence: other
Lokalise API v2 Ruby interface.

Programming Languages

ruby
36898 projects - #4 most used programming language

Projects that are alternatives of or similar to ruby-lokalise-api

Five Star
⭐️ FiveStar ⭐️ is a library to build a rating system in Ruby
Stars: ✭ 123 (+623.53%)
Mutual labels:  rubygem
Rom Sql
SQL support for rom-rb
Stars: ✭ 169 (+894.12%)
Mutual labels:  rubygem
glimmer-dsl-opal
Glimmer DSL for Opal (Pure-Ruby Web GUI and Auto-Webifier of Desktop Apps)
Stars: ✭ 22 (+29.41%)
Mutual labels:  rubygem
Waterdrop
WaterDrop is a standalone Karafka component library for generating Kafka messages
Stars: ✭ 136 (+700%)
Mutual labels:  rubygem
Acts as favoritor
Adds Favorite, Follow, Vote, etc. functionality to ActiveRecord models
Stars: ✭ 165 (+870.59%)
Mutual labels:  rubygem
Dry Cli
General purpose Command Line Interface (CLI) framework for Ruby
Stars: ✭ 210 (+1135.29%)
Mutual labels:  rubygem
Activeinteractor
An implementation of the command pattern for Ruby with ActiveModel::Validations inspired by the interactor gem. Rich support for attributes, callbacks, and validations, and thread safe performance methods.
Stars: ✭ 118 (+594.12%)
Mutual labels:  rubygem
rarbg
Ruby client for the RARBG Torrent API.
Stars: ✭ 17 (+0%)
Mutual labels:  rubygem
Asciidoctor Epub3
📘 Asciidoctor EPUB3 is a set of Asciidoctor extensions for converting AsciiDoc to EPUB3 & KF8/MOBI
Stars: ✭ 166 (+876.47%)
Mutual labels:  rubygem
rack-session-smart cookie
Slightly smarter session cookies for Rack 2 apps
Stars: ✭ 43 (+152.94%)
Mutual labels:  rubygem
Dry Rails
The official dry-rb railtie
Stars: ✭ 142 (+735.29%)
Mutual labels:  rubygem
Tty Box
Draw various frames and boxes in your terminal window
Stars: ✭ 161 (+847.06%)
Mutual labels:  rubygem
Api Fuzzer
API Fuzzer which allows to fuzz request attributes using common pentesting techniques and lists vulnerabilities
Stars: ✭ 238 (+1300%)
Mutual labels:  rubygem
Notifications Rails
A flexible notification library supporting the delivery to external services, rendering in various environments, and user configuration by category.
Stars: ✭ 130 (+664.71%)
Mutual labels:  rubygem
oanda api
A ruby client for the Oanda REST API.
Stars: ✭ 35 (+105.88%)
Mutual labels:  rubygem
Dry Logic
Predicate logic with rule composition
Stars: ✭ 118 (+594.12%)
Mutual labels:  rubygem
Zold
An Experimental Non-Blockchain Cryptocurrency for Fast Micro Payments
Stars: ✭ 183 (+976.47%)
Mutual labels:  rubygem
sidekiq-backend
Karafka Sidekiq backend for background messages processing
Stars: ✭ 69 (+305.88%)
Mutual labels:  rubygem
resource-translator
A GitHub Action that automatically creates machine-translated PRs of translation files. Supported file formats include, .ini, .po, .restext, .resx, .xliff .json.
Stars: ✭ 44 (+158.82%)
Mutual labels:  translation-files
Dry Container
A simple, configurable object container implemented in Ruby
Stars: ✭ 240 (+1311.76%)
Mutual labels:  rubygem

Lokalise API v2 official Ruby interface

Gem CI Downloads total

Official opinionated Ruby interface for the Lokalise API that represents returned data as Ruby objects.

Looking for a Rails integration? Try the lokalise_rails gem. Also you can use a lokalise_manager gem which allows to exchange translation files between Lokalise and any Ruby script.

Quickstart

Install the gem by running:

$ gem install ruby-lokalise-api

Obtain an API token in your personal profile (API tokens section) and initialize the client:

require 'ruby_lokalise_api'

@client = RubyLokaliseApi.client 'YOUR_TOKEN_HERE'

Now the @client can be used to perform API requests:

project = @client.project '123.abc'
project.name

process = @client.upload_file project_id,
                              data: 'Base-64 encoded data... ZnI6DQogI...',
                              filename: 'my_file.yml',
                              lang_iso: 'en'

process.status

Alternatively instantiate your client with an OAuth2 token:

@client = RubyLokaliseApi.oauth2_client 'YOUR_OAUTH2_TOKEN_HERE'

Learn how to generate an OAuth2 token in the docs.

Usage

Detailed documentation can be found at lokalise.github.io/ruby-lokalise-api.

You can also check this repo containing some usage examples and this blog post with explanations.

License

This gem is licensed under the BSD 3 Clause license. Prior to version 4 the license type was MIT.

Copyright (c) Lokalise team and Ilya Krukowski

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].