/phrase-client

Java/Kotlin Phrase API client

Primary LanguageKotlinApache License 2.0Apache-2.0

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