A
A
API
Search…
Get

Retrieve a list of our languages

Demo

URL Find your token on - yumpu.com Token
Run request
1
Copied!
curl
PHP
JavaScript
Java
Example:
1
curl -X GET -H "X-ACCESS-TOKEN: YOUR_ACCESS_TOKEN" "http://api.yumpu.com/2.0/document/languages.json"
Copied!
Example:
1
require_once('../yumpu.php');
2
$yumpu = new Yumpu();
3
$laguages = $yumpu->getLanguages();
4
print_r($laguages);
Copied!
Example:
1
var yumpu = require('yumpu');
2
yumpu.setToken('yourToken');
3
yumpu.getDocumentLanguages(function(statusCode, document){
4
console.log('Status: ' + statusCode);
5
console.log(document);
6
});
Copied!
Example:
1
Yumpu y = new Yumpu("your access token");
2
System.out.println(y.getLanguages());
Copied!
Whatever language you are using, the result will be the same.
1
{
2
"total": 23,
3
"languages": [
4
{
5
"iso": "en",
6
"name": "english"
7
},
8
{
9
"iso": "de",
10
"name": "german"
11
},
12
{
13
"iso": "fr",
14
"name": "french"
15
},
16
{
17
"iso": "es",
18
"name": "spanish"
19
},
20
{
21
"iso": "pt",
22
"name": "portuguese"
23
},
24
{
25
"iso": "it",
26
"name": "italian"
27
},
28
{
29
"iso": "ro",
30
"name": "romanian"
31
},
32
{
33
"iso": "nl",
34
"name": "dutch"
35
},
36
{
37
"iso": "la",
38
"name": "latin"
39
},
40
{
41
"iso": "da",
42
"name": "danish"
43
},
44
{
45
"iso": "sv",
46
"name": "swedish"
47
},
48
{
49
"iso": "no",
50
"name": "norwegian"
51
},
52
{
53
"iso": "hu",
54
"name": "hungarian"
55
},
56
{
57
"iso": "id",
58
"name": "indonesian"
59
},
60
{
61
"iso": "tr",
62
"name": "turkish"
63
},
64
{
65
"iso": "fi",
66
"name": "finnish"
67
},
68
{
69
"iso": "lv",
70
"name": "latvian"
71
},
72
{
73
"iso": "lt",
74
"name": "lithuanian"
75
},
76
{
77
"iso": "cs",
78
"name": "czech"
79
},
80
{
81
"iso": "ru",
82
"name": "russian"
83
},
84
{
85
"iso": "bg",
86
"name": "bulgarian"
87
},
88
{
89
"iso": "ar",
90
"name": "arabic"
91
},
92
{
93
"iso": "xx",
94
"name": "unknown"
95
}
96
],
97
"state": "success",
98
"completed_in": 0.0145
99
}
Copied!
Last modified 1yr ago