Difference between revisions of "Wordfast Anywhere TMs and glossaries API"

From Wordfast Wiki
Jump to: navigation, search
 
Line 1: Line 1:
 
== Terms and conditions ==
 
== Terms and conditions ==
  
Wordfast Anywhere API is REST and all methods are accessed via: https://www.freetm.com/wfa/api.
+
Wordfast Anywhere API is REST and all methods are accessed via: https://anywhere.wordfast.com/wfa/api.
<br>First of all you need to register to the free online Wordfast Anywhere application at http://www.freetm.com
+
<br>First of all you need to register to the free online Wordfast Anywhere application at http://anywhere.wordfast.com
 
<br>The API will allow to connect any external application to Wordfast Anywhere TMs and glossaries.
 
<br>The API will allow to connect any external application to Wordfast Anywhere TMs and glossaries.
 
<br>A key is required for all the commands of the API.
 
<br>A key is required for all the commands of the API.
Line 36: Line 36:
  
 
== Test the API calls ==
 
== Test the API calls ==
https://www.freetm.com/testapi.html
+
https://anywhere.wordfast.com/testapi.html

Revision as of 09:50, 17 January 2024

Terms and conditions

Wordfast Anywhere API is REST and all methods are accessed via: https://anywhere.wordfast.com/wfa/api.
First of all you need to register to the free online Wordfast Anywhere application at http://anywhere.wordfast.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:

Test the API calls

https://anywhere.wordfast.com/testapi.html