Skip to content

memoQ/MemoQAPISample

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

memoQ server Web Services API sample code

This is a minial example to help you get started using memoQ server's Web Service API. The script-like code in Program.cs executes the following tasks:

  • Creates a user and sets its password
  • Creates a translation memory
  • Creates a new project (deleting old project with same name if it exists)
  • Assigns the TM to the project
  • Uploads a DOCX file in chunks and imports it into the project for translation
  • Pre-translates the document
  • Calculates a fuzzy analysis and fetches the result as a CSV string
  • Assigns the document to the user

To try the code yourself

Check out the repository and edit two constants at the top of Program.cs:

const string baseUrl = "https://my-memoq-server.com/memoqservices";
const string apiKey = "<my API key>";

Replace the URL with your memoQ server's URL, and insert your own API key. You can find the API key in the Server Administrator:

logo

Running the code:

  • On Windows, open the solution in Visual Studio and start debugging
  • On Linux:
dotnet restore
dotnet run

Nasty .NET Core details

Don't have a memoQ server at hand?

You can get a free one-month trial at https://www.memoq.com/en/memoq-cloud-server.

Also, give us a holler over any of the channels under Contact Us. We love to talk about translation and technology.

About

Quick intro to memoQ server's API to automate translation projects

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published