定制 jeancsil/skyscanner-vigilant-bundle 二次开发

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

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

jeancsil/skyscanner-vigilant-bundle

Composer 安装命令:

composer require jeancsil/skyscanner-vigilant-bundle

包简介

Provides constant tracking for the best prices for your next trip

README 文档

README

Skyscanner Vigilant Bundle

Latest Stable Version

Symfony2 Bundle that provides console commands to keep watching flight deals for you!

Install

composer require jeancsil/skyscanner-vigilant-bundle

OR

Add in your composer.json:

"require": {
    "jeancsil/skyscanner-vigilant-bundle": "1.*"
}

Enable the bundle:

class AppKernel extends Kernel
{
    public function registerBundles()
	{
        $bundles = array(
	        ...
            new Jeancsil\Skyscanner\VigilantBundle\JeancsilSkyscannerVigilantBundle(),
            ...
        );

    }
}

Add these configurations in your parameters.yml file:

jeancsil.skyscanner.api.host: 'http://partners.api.skyscanner.net'
jeancsil.skyscanner.api.key: YOUR_API_KEY
jeancsil.skyscanner.http.client.config:
    base_uri: '%jeancsil.skyscanner.api.host%'
    timeout: 30
    headers:
        Content-Type: application/x-www-form-urlencoded
        Accept: application/json
        User-Agent: 'Mozilla/5.0 (Windows NT 10.0; WOW64) (OPTIONAL)'

Documentation

Simply run bin/console skyscanner:vigilant:live_prices --help to get it running.

Example:bin/console skyscanner:vigilant:live_prices --from=GRU-sky --to=FRA-sky --departure=2016-10-01 --arrival=2016-11-01 --country=BR --currency=BRL --locale=pt-BR.

You might want to put it in your crontab as well. (and go grab a beer!)

Support

For general support and questions, find me on Twitter as @jeancsil.

Bugs and suggestions: open a ticket.

License

This package is available under the MIT license.

统计信息

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

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2016-09-15

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固