Sha256: 95187fbbb0b696897a251db5ff54563f9582aff0c1a644dda501efc871588c5f

Contents?: true

Size: 549 Bytes

Versions: 3

Compression:

Stored size: 549 Bytes

Contents

require 'bundler'
Bundler.setup :default

require 'crowdin-api'
require 'logger'
require 'pp'

puts Crowdin::API::VERSION

API_KEY = '79323cdcd6b4566154c4fb9c6bbd3be1'
PROJECT_ID = 'rubytestapi'

crowdin = Crowdin::API.new(:api_key => API_KEY, :project_id => PROJECT_ID)
crowdin.log = Logger.new $stderr

pp crowdin.project_info

# crowdin.add_directory('test')
# file = { :dest => '/test.txt', :source => 'test.txt', :export_pattern => '/%three_letters_code%/%original_file_name%' }
# crowdin.add_file([] << file)
# crowdin.update_file([] << file)

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
crowdin-api-0.2.3 examples/project_info.rb
crowdin-api-0.2.2 examples/project_info.rb
crowdin-api-0.2.1 examples/project_info.rb