https://github.com/mhndev/saman-travel
Saman Insurance Travel Php Api Client
https://github.com/mhndev/saman-travel
api-client insurance insurance-agent saman
Last synced: 3 months ago
JSON representation
Saman Insurance Travel Php Api Client
- Host: GitHub
- URL: https://github.com/mhndev/saman-travel
- Owner: mhndev
- Created: 2019-09-09T16:52:09.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2019-11-16T09:05:58.000Z (over 5 years ago)
- Last Synced: 2025-01-04T16:43:32.706Z (5 months ago)
- Topics: api-client, insurance, insurance-agent, saman
- Language: PHP
- Homepage:
- Size: 939 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
What is travisa php package
This package has been designed to use travisa travel insurance easy and fast;
How to use ...
Creating a new instance of object```php
$azki_travisa = new SamanTravelSoapClient('****', '****');
```
Getting List Of Countries
```php
$countries = $azki_travisa->getCountries();
```Here is a sample output of getCountries
```php
stdClass Object
(
[getCountriesResult] => stdClass Object
(
[TISCountryInfo] => Array
(
[0] => stdClass Object
(
[errorCode] => -1
[errorText] =>
[code] => 2
[title] => آلمان
[zoneCode] => -1
[standardCode] => DE
)
[1] => stdClass Object
(
[errorCode] => -1
[errorText] =>
[code] => 3
[title] => انگلستان
[zoneCode] => -1
[standardCode] => UK
)
[2] => stdClass Object
(
[errorCode] => -1
[errorText] =>
[code] => 4
[title] => ايتاليا
[zoneCode] => -1
[standardCode] => IT
)
)
)
)
```