├── .eslintrc.json ├── .gitignore ├── .npmignore ├── .npmrc ├── .travis.yml ├── LICENSE ├── README-en.md ├── README.md ├── lib ├── index.js └── signature.js ├── package.json └── tests ├── data ├── airline-directions.json ├── city-directions.json ├── currency.json ├── flight.click.json ├── flight.results.json ├── flight.search.json ├── map.directions.json ├── map.prices.json ├── min-prices.json ├── prices.calendar.json ├── prices.cheap.json ├── prices.holidays-by-routes.json ├── prices.latest.json ├── prices.month-matrix.json ├── prices.monthly.json ├── prices.nearest-places-matrix.json ├── prices.week-matrix.json ├── special-offers.xml ├── statistics.balance.json ├── statistics.detailed-sales.json ├── statistics.payments.json ├── statistics.sales.json ├── unauthorized.json └── whereami.json ├── test.api.js ├── test.flight.js ├── test.lib.js └── test.signature.js /.eslintrc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alex7kom/node-travelpayouts/HEAD/.eslintrc.json -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | node_modules -------------------------------------------------------------------------------- /.npmignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alex7kom/node-travelpayouts/HEAD/.npmignore -------------------------------------------------------------------------------- /.npmrc: -------------------------------------------------------------------------------- 1 | package-lock=false 2 | -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alex7kom/node-travelpayouts/HEAD/.travis.yml -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alex7kom/node-travelpayouts/HEAD/LICENSE -------------------------------------------------------------------------------- /README-en.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alex7kom/node-travelpayouts/HEAD/README-en.md -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alex7kom/node-travelpayouts/HEAD/README.md -------------------------------------------------------------------------------- /lib/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alex7kom/node-travelpayouts/HEAD/lib/index.js -------------------------------------------------------------------------------- /lib/signature.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alex7kom/node-travelpayouts/HEAD/lib/signature.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alex7kom/node-travelpayouts/HEAD/package.json -------------------------------------------------------------------------------- /tests/data/airline-directions.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alex7kom/node-travelpayouts/HEAD/tests/data/airline-directions.json -------------------------------------------------------------------------------- /tests/data/city-directions.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alex7kom/node-travelpayouts/HEAD/tests/data/city-directions.json -------------------------------------------------------------------------------- /tests/data/currency.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alex7kom/node-travelpayouts/HEAD/tests/data/currency.json -------------------------------------------------------------------------------- /tests/data/flight.click.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alex7kom/node-travelpayouts/HEAD/tests/data/flight.click.json -------------------------------------------------------------------------------- /tests/data/flight.results.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alex7kom/node-travelpayouts/HEAD/tests/data/flight.results.json -------------------------------------------------------------------------------- /tests/data/flight.search.json: -------------------------------------------------------------------------------- 1 | { 2 | "search_id": "c9c6de8c-3fb4-404e-b88c-e9e0a605f183" 3 | } 4 | -------------------------------------------------------------------------------- /tests/data/map.directions.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alex7kom/node-travelpayouts/HEAD/tests/data/map.directions.json -------------------------------------------------------------------------------- /tests/data/map.prices.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alex7kom/node-travelpayouts/HEAD/tests/data/map.prices.json -------------------------------------------------------------------------------- /tests/data/min-prices.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alex7kom/node-travelpayouts/HEAD/tests/data/min-prices.json -------------------------------------------------------------------------------- /tests/data/prices.calendar.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alex7kom/node-travelpayouts/HEAD/tests/data/prices.calendar.json -------------------------------------------------------------------------------- /tests/data/prices.cheap.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alex7kom/node-travelpayouts/HEAD/tests/data/prices.cheap.json -------------------------------------------------------------------------------- /tests/data/prices.holidays-by-routes.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alex7kom/node-travelpayouts/HEAD/tests/data/prices.holidays-by-routes.json -------------------------------------------------------------------------------- /tests/data/prices.latest.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alex7kom/node-travelpayouts/HEAD/tests/data/prices.latest.json -------------------------------------------------------------------------------- /tests/data/prices.month-matrix.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alex7kom/node-travelpayouts/HEAD/tests/data/prices.month-matrix.json -------------------------------------------------------------------------------- /tests/data/prices.monthly.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alex7kom/node-travelpayouts/HEAD/tests/data/prices.monthly.json -------------------------------------------------------------------------------- /tests/data/prices.nearest-places-matrix.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alex7kom/node-travelpayouts/HEAD/tests/data/prices.nearest-places-matrix.json -------------------------------------------------------------------------------- /tests/data/prices.week-matrix.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alex7kom/node-travelpayouts/HEAD/tests/data/prices.week-matrix.json -------------------------------------------------------------------------------- /tests/data/special-offers.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alex7kom/node-travelpayouts/HEAD/tests/data/special-offers.xml -------------------------------------------------------------------------------- /tests/data/statistics.balance.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alex7kom/node-travelpayouts/HEAD/tests/data/statistics.balance.json -------------------------------------------------------------------------------- /tests/data/statistics.detailed-sales.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alex7kom/node-travelpayouts/HEAD/tests/data/statistics.detailed-sales.json -------------------------------------------------------------------------------- /tests/data/statistics.payments.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alex7kom/node-travelpayouts/HEAD/tests/data/statistics.payments.json -------------------------------------------------------------------------------- /tests/data/statistics.sales.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alex7kom/node-travelpayouts/HEAD/tests/data/statistics.sales.json -------------------------------------------------------------------------------- /tests/data/unauthorized.json: -------------------------------------------------------------------------------- 1 | {"success":false,"data":null,"message":"Unauthorized"} -------------------------------------------------------------------------------- /tests/data/whereami.json: -------------------------------------------------------------------------------- 1 | cb({"iata":"MOW","name":"Москва"}); -------------------------------------------------------------------------------- /tests/test.api.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alex7kom/node-travelpayouts/HEAD/tests/test.api.js -------------------------------------------------------------------------------- /tests/test.flight.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alex7kom/node-travelpayouts/HEAD/tests/test.flight.js -------------------------------------------------------------------------------- /tests/test.lib.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alex7kom/node-travelpayouts/HEAD/tests/test.lib.js -------------------------------------------------------------------------------- /tests/test.signature.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alex7kom/node-travelpayouts/HEAD/tests/test.signature.js --------------------------------------------------------------------------------