phrase-client

This projects contains of services to handle the translations from [PhraseApp API v2](http://docs.phraseapp.com/api/v2/). It's supposed to expose Phrase translations as POJO or as File within the Java/Kotlin world.

License

License

Categories

Categories

CLI User Interface
GroupId

GroupId

com.isadounikau
ArtifactId

ArtifactId

phrase-client
Last Version

Last Version

1.1.4
Release Date

Release Date

Type

Type

jar
Description

Description

phrase-client
This projects contains of services to handle the translations from [PhraseApp API v2](http://docs.phraseapp.com/api/v2/). It's supposed to expose Phrase translations as POJO or as File within the Java/Kotlin world.
Project URL

Project URL

https://github.com/isadounikau/phrase-client
Source Code Management

Source Code Management

https://github.com/isadounikau/phrase-client

Download phrase-client

How to add to project

<!-- https://jarcasting.com/artifacts/com.isadounikau/phrase-client/ -->
<dependency>
    <groupId>com.isadounikau</groupId>
    <artifactId>phrase-client</artifactId>
    <version>1.1.4</version>
</dependency>
// https://jarcasting.com/artifacts/com.isadounikau/phrase-client/
implementation 'com.isadounikau:phrase-client:1.1.4'
// https://jarcasting.com/artifacts/com.isadounikau/phrase-client/
implementation ("com.isadounikau:phrase-client:1.1.4")
'com.isadounikau:phrase-client:jar:1.1.4'
<dependency org="com.isadounikau" name="phrase-client" rev="1.1.4">
  <artifact name="phrase-client" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.isadounikau', module='phrase-client', version='1.1.4')
)
libraryDependencies += "com.isadounikau" % "phrase-client" % "1.1.4"
[com.isadounikau/phrase-client "1.1.4"]

Dependencies

compile (9)

Group / Artifact Type Version
org.jetbrains.kotlin : kotlin-stdlib-jdk8 jar 1.3.71
com.fasterxml.jackson.module : jackson-module-kotlin jar 2.11.0
com.fasterxml.jackson.datatype : jackson-datatype-jsr310 jar 2.11.0
io.github.openfeign : feign-core jar 10.9
io.github.openfeign : feign-httpclient jar 10.9
io.github.openfeign : feign-jackson jar 10.9
io.github.openfeign.form : feign-form jar 3.8.0
com.google.guava : guava jar 28.2-jre
io.github.microutils : kotlin-logging jar 1.7.9

test (3)

Group / Artifact Type Version
org.jetbrains.kotlin : kotlin-test-junit jar 1.3.71
com.github.tomakehurst : wiremock-jre8 jar 2.26.3
org.slf4j : slf4j-simple jar 1.7.30

Project Modules

There are no modules declared in this project.

Build Status codecov Maven Central

Phrase.com Api Client with ETag caching support

Java/Kotlin Phrase API client. Library supports ETag caching, therefore you can forget about Rate Limiting exceptions problem

What is this?

This projects contain client to handle the API from PhraseApp API v2. It's supposed to expose Phrase Core within the Java/Kotlin world.

How to use it

You need configure your client

val config =  PhraseApiClientConfig(
    authKey = "authKey"
)

val phraseApiClient = PhraseApiClientImpl(config)

Supported API

  • Project

    • Create project
    • Get project by id
    • Get all projects
    • Delete project
    • Update project
  • Locale

  • Translation

    • Create translation
  • Key

    • Create key
    • Search key
    • Delete key

TODO

  • Increase test coverage
  • Increase supported APIs
  • Migrate from Maven to Gradle
  • Optional introduce kotlin-multiplatform

Versions

Version
1.1.4
1.1.3
1.1.2
1.1.1
1.1.0
1.0.2
1.0.1
1.0.0