Liking cljdoc? Tell your friends :D

t7x.client


create-resourceclj

(create-resource client project-slug resource-slug name i18n-type source & args)

Create a new resource. Returns a json summary.

  • project-slug: the slug of the project where to create the new resource
  • resource-slug: the slug for the new resource
  • name: the display name for the new resource
  • i18n-type: XLIFF, PO, etc. see https://docs.transifex.com/formats/introduction
  • source: the source translations. Can be a java.io.File or a java.lang.Byte array extra possible args are:
  • :accept_translations (boolean)
  • :category or :categories
  • :priority (int): 0 for Normal, 1 for High, 2 for Urgent
  • :mp4_url or :ogg_url or :webm_url or :youtube_url
Create a new resource. Returns a json summary.
- project-slug: the slug of the project where to create the new resource
- resource-slug: the slug for the new resource
- name: the display name for the new resource
- i18n-type: XLIFF, PO, etc. see https://docs.transifex.com/formats/introduction
- source: the source translations. Can be a java.io.File or a java.lang.Byte array
extra possible args are:
- :accept_translations (boolean)
- :category or :categories
- :priority (int): 0 for Normal, 1 for High, 2 for Urgent
- :mp4_url or :ogg_url or :webm_url or :youtube_url
sourceraw docstring

download-bin-resourceclj

(download-bin-resource client project-slug resource-slug)

Download a binary resource and return it as a byte array

Download a binary resource and return it as a byte array
sourceraw docstring

download-bin-resource-translationsclj

(download-bin-resource-translations client
                                    project-slug
                                    resource-slug
                                    lang-code
                                    &
                                    args)

Download resource translations in given language as a byte array. extra possible args are :

  • :mode (string): default or reviewed or translator or onlytranslated or onlyreviewed or sourceastranslation
  • :file (string): file format. Don't specify to get the original file format.
Download resource translations in given language as a byte array.
extra possible args are :
- :mode (string): default or reviewed or translator or onlytranslated or onlyreviewed or sourceastranslation
- :file (string): file format. Don't specify to get the original file format.
sourceraw docstring

download-resourceclj

(download-resource client project-slug resource-slug)

Download a resource and return it as a string

Download a resource and return it as a string
sourceraw docstring

download-resource-translationsclj

(download-resource-translations client
                                project-slug
                                resource-slug
                                lang-code
                                &
                                args)

Download resource translations in given language as a string. extra possible args are :

  • :mode (string): default or reviewed or translator or onlytranslated or onlyreviewed or sourceastranslation
  • :file (string): file format. Don't specify to get the original file format.
Download resource translations in given language as a string.
extra possible args are :
- :mode (string): default or reviewed or translator or onlytranslated or onlyreviewed or sourceastranslation
- :file (string): file format. Don't specify to get the original file format.
sourceraw docstring

env->clientclj

(env->client)

Create an API client from the environment. It assumes you set TRANSIFEX_API_KEY to a valid Transifex API token.

Create an API client from the environment. It assumes you set
TRANSIFEX_API_KEY to a valid Transifex API token.
sourceraw docstring

info-resourceclj

(info-resource client project-slug resource-slug & args)

Retrieve detailed informations about resource as a json string. extra possible args are :

  • :details (bool): extra fields are returned
Retrieve detailed informations about resource as a json string.
extra possible args are :
- :details (bool): extra fields are returned
sourceraw docstring

mk-clientclj

(mk-client api-token)
(mk-client user password)

Create an API client

Create an API client
sourceraw docstring

upload-resource-translationclj

(upload-resource-translation client
                             project-slug
                             resource-slug
                             lang-code
                             translations
                             &
                             args)

Upload file as new translations for resource. Returns a json summary. translations can be a java.io.File or a java.lang.Byte array. extra possible args are:

  • :file_type (string): xliff is the only possible value
Upload file as new translations for resource. Returns a json summary.
translations can be a java.io.File or a java.lang.Byte array.
extra possible args are:
- :file_type (string): xliff is the only possible value
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close