jb/api-yahoo-weather-bundle

A bundle for SYmfony2 which use jb/api-yahoo-weather to get weather informations from Yahoo Api

1.3.2 2014-11-10 14:48 UTC

This package is not auto-updated.

Last update: 2024-03-26 01:42:05 UTC


README

#User guide (beta)#

    jb_api_yahoo_weather:
        woeid: 123456
        unit: c
        
    aequasi_cache:
        instances:
            jb_api_yahoo_weather:
              persistent: false # Boolean or persistent_id
              namespace: jayw
              type: memcached
              hosts:
                  - { host: localhost, port: 11211 }
    "fabpot/goutte": "~2.0",
    "aequasi/cache-bundle": "dev-master"

When using memcached you can see in response HTTP headers if the date is from Api or cache. The key is api-weather-hit-cache