MyMemory: API technical specifications
Quick Start
Download example code for a simple get/match call here: Word Macro (VBA), .NET C#
Methods Exposed
WSDL: http://mymemory.translated.net/otms/?wsdl
-
otmsGet (Key As String, q As Query) As getResponse
Fetches array of matches for query segment from MyMemory -
otmsInsert (Key As String, i As Insert) As insertResponse
Inserts segment and translation into MyMemory
Demo Key: mmDemo123
Supported Standards
- SOAP: example SOAP query XML
- REST: under construction; for more information contact anthony@translated.net
Complex Type Reference
-
Query: represents search criteria
- source (String): search segment, eg/ 'Control panel'
- source_lang (String): search segment language in RFC 3066 format, eg/ 'en-US'
- target_lang (String): target language in RFC 3066 format, eg/ 'es-ES'
- subject (String) : subject constraint, eg/ 'Computer_Science'
- success (Boolean): true if operation successful
- error_message (String): describes error if operation unsuccessful
- matches (Array of Match): array of translation memory matches
- segment (String): segment matching search
- source_lang (String): matching segment language in RFC 3066 format, eg/ 'en-US'
- translation (String): translation of matching segment
- target_lang (String): translation language in RFC 3066 format, eg/ 'es-ES'
- score (Integer): degree of match, 0 (least similar) - 100 (most similar)
- subject (String): subject matter of segment context
- success (Boolean): true if operation successful
- error_message (String): describes error if operation unsuccessful