API - Enumerate languages

Beebox uses ISO 2-letter language codes and English titles: About language codes in the Beebox.

This API method is helpful during development. When interacting with a Beebox project, be aware that you can only use the languages defined in that project.

To get the list of a project's languages, you would use API - Get project information instead.

URL

(GET) /api/utility/languages?token=

PARAMETERS

token

The session token obtained when connecting.

RESULTS

The method returns a JSON array of languages:

[
	{"v":"af","t":"Afrikaans"},
	{"v":"af-NA","t":"Afrikaans (Namibia)"},
	{"v":"af-ZA","t":"Afrikaans (South Africa)"},
	{"v":"ak","t":"Akan"},
	{"v":"ak-Fant","t":"Akan (Fante)"},
	{"v":"ak-Fant-GH","t":"Akan (Fante, Ghana)"},
	{"v":"sq","t":"Albanian"},
	...
]

 

An HTTP status of 200 indicates success. Other HTTP status values indicate an error.

 

 

Copyright Wordbee - Buzzin' Outside the Box since 2008