Work.languages: Difference between revisions
Jump to navigation
Jump to search
w>Jguillo Created page with 'Returns the list of supported work languages = Info = * '''Component name:''' work.languages * '''Signature:''' No signature required * '''Timestamp:''' Ztime is not required =…' |
w>Jguillo No edit summary |
||
Line 1: | Line 1: | ||
Returns the list of supported | Returns the list of supported languages | ||
= Info = | = Info = |
Revision as of 08:49, 5 May 2010
Returns the list of supported languages
Info
- Component name: work.languages
- Signature: No signature required
- Timestamp: Ztime is not required
Parameters
- locale: Locale for language names
* Required parameter
Returns
- worklanguages
- language
- code: Language ISO code
- name: Language name
- language
Sample
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>