Difference between revisions of "User talk:Yves"
(→API calls) |
(No difference)
|
Latest revision as of 20:34, 26 February 2015
Contents
Wordfast Anywhere TMs and glossaries API
Terms and conditions
Wordfast Anywhere API is REST and all methods are accessed via: https://www.freetm.com/wfa/api. First of all you need to register to the free online Wordfast Anywhere application at http://www.freetm.com The API will allow to connect any external application to Wordfast Anywhere TMs and glossaries. A key is required for all the commands of the API. The API key is generated by making a share of TMs and glossaries in Wordfast Anywhere. The API usage is free but the number of keys is limited to 5. Go to File menu => TMs and glossaries. Open the sharing dialog by Clicking on the Sharing button => Add button for My shares to application.
Data formats
Passing Request Data Request data is passed to the API by POSTing JSON objects to the API endpoints with the appropriate parameters. The documentation for each API call will contain more detail on the parameters accepted by the call. As an alternative, you can also use HTTP POST parameters and even use the HTTP GET method, but usage of the GET method is discouraged. Output Formats We support 2 output formats: json (default) and text. The response data for each call will the be encoded in the specified format.
API calls
Command list:
- http://www.wordfast.net/wiki/Connect
- http://www.wordfast.net/wiki/disconnect
- http://www.wordfast.net/wiki/searchSegment
- http://www.wordfast.net/wiki/searchTerm ·
- http://www.wordfast.net/wiki/searchTu
- http://www.wordfast.net/wiki/searchTuExt
- http://www.wordfast.net/wiki/addTu
- http://www.wordfast.net/wiki/addTerm
- http://www.wordfast.net/wiki/deleteTu
- http://www.wordfast.net/wiki/deleteTerm
- http://www.wordfast.net/wiki/countTus
- http://www.wordfast.net/wiki/countTerms
API errors
list of API errors http://www.wordfast.net/wiki/List_of_API_errors
Test the API calls
https://www.freetm.com/testapi.html
Changelog
changelog