Sha256: cfa821f6e7a9a0aec528b83ff980006ee50c8c7e541940ef831fdf3197622304

Contents?: true

Size: 1.7 KB

Versions: 30

Compression:

Stored size: 1.7 KB

Contents

# Phrase::ICUApi

All URIs are relative to *https://api.phrase.com/v2*

Method | HTTP request | Description
------------- | ------------- | -------------
[**icu_skeleton**](ICUApi.md#icu_skeleton) | **POST** /icu/skeleton | Build icu skeletons



## icu_skeleton

> Icu icu_skeleton(icu_skeleton_parameters, opts)

Build icu skeletons

Returns icu skeletons for multiple locale codes based on a source content.

### Example

```ruby
# 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
```

### Parameters


Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **icu_skeleton_parameters** | [**IcuSkeletonParameters**](IcuSkeletonParameters.md)|  | 
 **x_phrase_app_otp** | **String**| Two-Factor-Authentication token (optional) | [optional] 

### Return type

Response<([**Icu**](Icu.md))>

### Authorization

[Basic](../README.md#Basic), [Token](../README.md#Token)

### HTTP request headers

- **Content-Type**: application/json
- **Accept**: application/json

Version data entries

30 entries across 30 versions & 1 rubygems

Version Path
phrase-2.26.0 docs/ICUApi.md
phrase-2.25.0 docs/ICUApi.md
phrase-2.24.0 docs/ICUApi.md
phrase-2.23.0 docs/ICUApi.md
phrase-2.22.2 docs/ICUApi.md
phrase-2.22.1 docs/ICUApi.md
phrase-2.22.0 docs/ICUApi.md
phrase-2.21.0 docs/ICUApi.md
phrase-2.20.0 docs/ICUApi.md
phrase-2.19.0 docs/ICUApi.md
phrase-2.18.0 docs/ICUApi.md
phrase-2.17.0 docs/ICUApi.md
phrase-2.16.0 docs/ICUApi.md
phrase-2.15.0 docs/ICUApi.md
phrase-2.14.0 docs/ICUApi.md
phrase-2.13.0 docs/ICUApi.md
phrase-2.12.0 docs/ICUApi.md
phrase-2.11.0 docs/ICUApi.md
phrase-2.10.0 docs/ICUApi.md
phrase-2.9.0 docs/ICUApi.md