Service Objects has created libraries for our most recommended programming languages and services. To use these, please download your library of choice from https://www.serviceobjects.com/developers/sample-code/ and follow the appropriate instructions below. These libraries integrate best practices and fail over integration and can be used to get up and running with the service quickly and easily.
- C#
- Java
- PHP
- Download the dll and add reference to it in your Visual Studio project by right clicking referenced and then select Add Reference
- 2. Include the using statement at the top of your project
- 3. Call the web service using the below snippet of code* and handle the response accordingly.
Please note, if you are using a trial key submit a boolean of false at the end of the method call to access our trial endpoints. If you are using a production key, submit the bool as true.
- Download the .jar file and add the reference to in your project*
- 2. Include the import statement at the top of your project file.
- 3. Call the web service using the below snippet of code** and handle the response accordingly.
*Depending on your IDE this may look differently or require alternate steps.
**Please note, if you are using a trial key submit a boolean of false at the end of the method call to access our trial endpoints. If you are using a production key, submit the bool as true.
- Download the Class Library and put it in a location that can be easily referenced by your project.
- Reference the class in your project with the below code:
- 3. Call the service* as shown below and handle the service accordingly.
*Please note, if you are using a trial key submit a boolean of false at the end of the method call to access our trial endpoints. If you are using a production key, submit the bool as true.