/GlobalSight-API

This is a simple bare bones example of using the GlobalSight Web Services API from C#.

Primary LanguageC#

GlobalSight Web Services API - C# Starter Project

This is a simple bare bones example of using the GlobalSight Web Services API from C#. This shows how to connect to GlobalSight, and call one simple operation (getting the version of GlobalSight you are connected to), but should give you a template for wrapping other API functions.

Here are some related blog posts where I outlined how to do some simple operations using the API.

Interacting with the GlobalSight Web Services API from C#

GlobalSight Web Services API: Automate Translation Memory Upload

GlobalSight Web Services API: Job Creation

GlobalSight Web Services API: Manipulating Workflows Programmatically

Notes

The solution contains two C# projects:

GlobalSightLib - a class library that talks to GlobalSight.

You need to modify the GlobalSight URL at the top of Main.cs to point to the GlobalSight server you want to connect to.

GlobalSightAPITesting - a console app that references GlobalSightLib, and shows a simple example of authenticating and calling a function.

You need to change the GlobalSight Username & Password in Program.cs

Ensure that the account you are using has the relevant access, and that your IP is whitelisted if you have that feature turned on in GlobalSight.