The service finds out the primary languages for an address.
Syntax | /svc/2.0/address/language/<address> |
Example | /svc/2.0/address/language/foo@bar.com |
Parameter | An ASCII email address as last part of the URL |
Result
<languageStatus>
<result>1</result>
<languages>
<language>en</language>
</languages>
</languageStatus>
or
{"result": 1, "languages": ["en"]}
- result: the evaluation result
- 0: there is no information about the language orientation of this address available
- 1: the domain of this address has a national focus
- 2: the domain of this address has an international focus
- languages: 1-3 codes (ISO 639-1/2) for primary languages