Work.languages: Difference between revisions
Jump to navigation
Jump to search
w>Jguillo No edit summary |
w>Jguillo No edit summary |
||
Line 18: | Line 18: | ||
*** '''name''': Language name | *** '''name''': Language name | ||
= | = Example = | ||
REQUEST: | REQUEST: | ||
Revision as of 08:44, 14 May 2010
Returns the list of supported languages
Info
- Component name: work.languages
- Signature: No signature required
- Timestamp: Ztime is not required
- API trust level: Public
Parameters
- locale: Locale for language names
* Required parameter
Returns
- worklanguages
- language
- code: Language ISO code
- name: Language name
- language
Example
REQUEST:
https://api.safecreative.org/v2/ ?component=work.languages &locale=en
RESPONSE:
<?xml version="1.0" encoding="UTF-8"?> <worklanguages> <language> <code>AR</code> <name>Arabic</name> </language> <language> <code>OC</code> <name>Aranese</name> </language> <language> <code>EU</code> <name>Basque</name> </language> <language> <code>CA</code> <name>Catalan</name> </language> <language> <code>ZH</code> <name>Chinesse</name> </language> <language> <code>EN</code> <name>English</name> </language> <language> <code>FR</code> <name>French</name> </language> <language> <code>GL</code> <name>Galician</name> </language> <language> <code>DE</code> <name>German</name> </language> <language> <code>IT</code> <name>Italian</name> </language> <language> <code>PT</code> <name>Portuguese</name> </language> <language> <code>RU</code> <name>Russian</name> </language> <language> <code>ES</code> <name>Spanish</name> </language> </worklanguages>