This page contains code snippets for various frequently used programming languages. All examples are provided as is. They do not try to highlight all the possible features of the API but are intended to help someone get started quickly.
If your favorite language is not listed, please feel free to send us an example and we will integrate it into this page.
All examples below use POST signed requests. This avoids transmitting your secret key.
Samples for all Idilia services are available in a github repository. To get the source code, run the following from the command line:
git clone https://github.com/Idilia/idilia-api-samples
- Requesting an XML response: paraphrase_xml.cc
(builds on Linux with g++ and requires the packages “libxml2-devel, mhash-devel, curl-devel”. See build instructions at the top of the file.)
- Single part request and response: Paraphrase.java