定制 mkorkmaz/tk-api-php-client 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

mkorkmaz/tk-api-php-client

Composer 安装命令:

composer require mkorkmaz/tk-api-php-client

包简介

Turkish Airlines TK API Unofficial PHP Client

README 文档

README

Build Status Coverage Status Scrutinizer Code Quality

See the official documentation at Turkish Airlines Developer Portal

To use this library, one has to create a developer account on Developer Portal and create an application to get required API Key and API Secret.

Installation

composer require mkorkmaz/tk-api-php-client

Configuration

Put your API Key and API Secret securely in a configuration file or .env etc. Since calling an API endpoint is rate-limited, it is important to secure these information.

Use https://api.turkishairlines.com/test as your api test url during development.

Creating API Client

<?php

include 'vendor/autoload.php';
use TK\API\ClientBuilder;

$client = ClientBuilder::create()
	->setEnvironment(getenv('TK_API_URL'), getenv('TK_API_KEY'), getenv('TK_API_SECRET'))
	->build();

Endpoints

See the list of endpoints

Disclaimer

This TK API Client Library is not officially recognized by Turkish Airlines.

统计信息

  • 总下载量: 13
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 10
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 10
  • Watchers: 2
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2018-11-16

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固