travel-paq / packages-api
Api para la búsqueda y reserva de paquetes turísticos de Tour Operadores.
Installs: 1 624
Dependents: 0
Suggesters: 0
Security: 0
Stars: 2
Watchers: 2
Forks: 0
Open Issues: 0
Requires
- php: >=5.4
- guzzlehttp/guzzle: ~6.0
- league/json-guard: ^0.3.2
- phpdocumentor/phpdocumentor: 2.*
- dev-master
- v3.0.12
- v3.0.11
- v3.0.10
- v3.0.9
- v3.0.8
- v3.0.7
- 3.0.6
- v3.0.5
- v3.0.4
- v3.0.3
- v3.0.2
- v3.0.1
- v3.0.0
- v2.0.20
- v2.0.19
- v1.0.46
- v1
- v0.2.20
- v0.2.18
- v0.2.17
- v0.2.16
- v0.2.15
- v0.2.14
- v0.2.13
- v0.2.12
- v0.2.11
- v0.2.10
- v0.2.9
- v0.2.8
- v0.2.7
- v0.2.6
- v0.2.5
- v0.2.4
- v0.2.3
- v0.2.2
- v0.2.1
- v0.2.0
- v0.1.99
- v0.1.98
- v0.1.97
- v0.1.96
- v0.1.95
- v0.1.94
- v0.1.93
- v0.1.92
- v0.1.91
- v0.1.90
- v0.1.89
- v0.1.88
- v0.1.87
- v0.1.86
- v0.1.85
- v0.1.84
- v0.1.83
- v0.1.82
- v0.1.81
- v0.1.80
- v0.1.79
- v0.1.78
- v0.1.77
- v0.1.76
- v0.1.75
- v0.1.74
- v0.1.73
- v0.1.72
- v0.1.71
- v0.1.70
- v0.1.69
- v0.1.68
- v0.1.67
- v0.1.66
- v0.1.65
- v0.1.64
- v0.1.63
- v0.1.62
- v0.1.61
- v0.1.60
- v0.1.59
- v0.1.58
- v0.1.57
- v0.1.56
- v0.1.55
- v0.1.54
- v0.1.53
- v0.1.52
- v0.1.51
- v0.1.50
- v0.1.49
- v0.1.48
- v0.1.47
- v0.1.45
- v0.1.44
- v0.1.43
- v0.1.42
- v0.1.41
- v0.1.40
- v0.1.39
- v0.1.38
- v0.1.37
- v0.1.36
- v0.1.35
- v0.1.34
- v0.1.33
- v0.1.32
- v0.1.31
- v0.1.30
- v0.1.29
- v0.1.28
- v0.1.27
- v0.1.26
- v0.1.25
- v0.1.24
- v0.1.23
- v0.1.22
- v0.1.21
- v0.1.20
- v0.1.19
- v0.1.18
- v0.1.17
- v0.1.16
- v0.1.15
- v0.1.14
- v0.1.13
- v0.1.12
- v0.1.11
- v0.1.10
- v0.1.9
- v0.1.8
- v0.1.7
- v0.1.6
- v0.1.5
- v0.1.4
- v0.1.3
- v0.1.2
- v0.1.1
- v0.1.0
This package is not auto-updated.
Last update: 2025-01-18 00:01:29 UTC
README
Api para la búsqueda y reserva de paquetes turísticos de Tour Operadores
Install
Via Composer
$ composer require travel-paq/packages-api
Usage
require "vendor/autoload.php"; use TravelPAQ\PackagesAPI\PackagesAPI; $params = [ 'order_type' => "ASC", 'order_field' => "PRICE", 'currency' => "USD", 'origin_place' => "EZE", 'destination_place' => "IGR", 'month_departure' => 9, 'year_departure' => 2016, 'Room' => [ [ 'adult' => 2, 'Children' => [] ] ] ]; $tp = new PackagesAPI(['api_key' => 'YOUR_API_KEY','item_per_page' => 10]); $list = json_decode($tp->getPackageList($params),true); var_dump($list); $package = json_decode($tp->getPackage($list['result'][0]['id'])); var_dump($package);
Change log
Please see CHANGELOG for more information what has changed recently.
Testing
$ composer test
License
The MIT License (MIT). Please see License File for more information.