...
On Windows:
Code Block | ||||
---|---|---|---|---|
| ||||
cd /d "C:\Program Files\Ubisecure\customerid\tools" countrytool.cmd |
On Linux:
Code Block | ||||
---|---|---|---|---|
| ||||
cd /usr/local/ubisecure/customerid/tools ./countrytool.sh |
...
On a Linux system, for instance, the country tool can be used as follows:
Code Block | ||||
---|---|---|---|---|
| ||||
cd /usr/local/ubisecure/customerid/tools ./countrytool.sh --countries fi se dk no ru --languages fi sv --prioritized fi se |
...
The following example defines three countries and shows all attributes supported:
Code Block | ||||
---|---|---|---|---|
| ||||
[ { "code": "FI", "name": "Suomi", "priority": 1, "localized_names": { "fi": "Suomi", "en": "Finland" }, "alternative_names": [] }, { "code": "SE", "name": "Sverige", "priority": 1, "localized_names": { "fi": "Ruotsi", "en": "Sweden" }, "alternative_names": [] }, { "code": "NO", "name": "Norge", "priority": 2, "localized_names": { "fi": "Norja", "en": "Norway" }, "alternative_names": [] } ] |
...