All URIs are relative to https://api.phrase.com/v2
Method | HTTP request | Description |
---|---|---|
icu_skeleton | POST /icu/skeleton | Build ICU skeletons |
Icu icu_skeleton(icu_skeleton_parameters, opts)
Build ICU skeletons
Returns ICU skeletons for multiple locale codes based on a source content.
# load the gem
require 'phrase'
# setup authorization
Phrase.configure do |config|
# Configure HTTP basic authorization: Basic
config.username = 'YOUR USERNAME'
config.password = 'YOUR PASSWORD'
# Configure API key authorization: Token
config.api_key['Authorization'] = 'YOUR API KEY'
config.api_key_prefix['Authorization'] = 'token'
end
api_instance = Phrase::ICUApi.new
icu_skeleton_parameters = Phrase::IcuSkeletonParameters.new # IcuSkeletonParameters |
opts = {
x_phrase_app_otp: 'x_phrase_app_otp_example' # String | Two-Factor-Authentication token (optional)
}
begin
#Build ICU skeletons
result = api_instance.icu_skeleton(icu_skeleton_parameters, opts)
pp result
rescue Phrase::ApiError => e
puts "Exception when calling ICUApi->icu_skeleton: #{e}"
end
Name | Type | Description | Notes |
---|---|---|---|
icu_skeleton_parameters | IcuSkeletonParameters | ||
x_phrase_app_otp | String | Two-Factor-Authentication token (optional) | [optional] |
Response<(Icu)>
- Content-Type: application/json
- Accept: application/json