2017 © Pedro Peláez
 

symfony-bundle skyscanner-vigilant-bundle

Provides constant tracking for the best prices for your next trip

image

jeancsil/skyscanner-vigilant-bundle

Provides constant tracking for the best prices for your next trip

  • Monday, September 19, 2016
  • by jeancsil
  • Repository
  • 1 Watchers
  • 0 Stars
  • 34 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 18 Versions
  • 0 % Grown

The README.md

Skyscanner Vigilant Bundle

Skyscanner Vigilant Bundle, (*1)

Latest Stable Version, (*2)

Symfony2 Bundle that provides console commands to keep watching flight deals for you!, (*3)

Install

composer require jeancsil/skyscanner-vigilant-bundle, (*4)

OR, (*5)

Add in your composer.json:, (*6)

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

Enable the bundle:, (*7)

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

    }
}

Add these configurations in your parameters.yml file:, (*8)

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., (*9)

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., (*10)

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

Support

For general support and questions, find me on Twitter as @jeancsil., (*12)

Bugs and suggestions: open a ticket., (*13)

License

This package is available under the MIT license., (*14)

The Versions