language #
The language
request parameter is an optional request parameter. which
indicates the language in which any possible
messages
are returned.
The default language is English.
The contents of these messages exist mostly for the convenience of
developers.
In other words, it is not recommended to show these messages as-is to
end-users, but instead handle each
messageCode
individually, and provide
custom translations for each message code relevant to the specific
application and end-users.
Supported languages #
Currently, two languages are supported. Please contact us if you would like another language to be supported.
Language tag | Language |
---|---|
en | English |
nl | Dutch |
Example request #
curl -X 'POST' \
'https://api.blicker.ai/blicker/2020-10-01' \
-H 'subscription-key: <your subscription key>' \
-F 'image=@test_image.jpg' \
-F 'language=nl'
from pathlib import Path
from pprint import pprint
import requests
response = requests.post(
"https://api.blicker.ai/blicker/2020-10-01",
headers={"subscription-key": "<your subscription key>"},
files={"image": ("test_image.jpg", Path("test_image.jpg").read_bytes())},
data={"language": "nl"},
)
pprint(response.json())
The response will contain the
language
at
the top-level.