2017 © Pedro Peláez
 

module mmyql

Zend Framework 2 module for easy access to YQL (Yahoo! Query Language)

image

machek/mmyql

Zend Framework 2 module for easy access to YQL (Yahoo! Query Language)

  • Sunday, May 5, 2013
  • by machek
  • Repository
  • 1 Watchers
  • 1 Stars
  • 33 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

MMYQL

Version 0.01 Created by Zdenek Machek during Yahoo! Hack Europe: London 2013, (*1)

Introduction

This is simple module simplifying YQL - Yahoo! Query Language (http://developer.yahoo.com/yql/) usage, (*2)

Requirements

Installation

  1. Add "machek/mmyql": "dev-master" to your composer.json file and run php composer.phar update.
  2. Add MMYQL to your config/application.config.php file under the modules key.
  3. copy /vendor/machek/mmyql/configmmyql.local.php.dist to /config/autoload/mmyql.local.php

Usage

        $select = "latitude, longitude, radius";
        $from = "geo.placefinder";
        $where = "text=\"{$query}\"";

        $response = $this->getServiceLocator()->get('serviceYQL')->executeQuery($select, $from, $where);
        $responseArray = json_decode($response);
        $resultArray = array('coordinates' => array('latitude' => $result->latitude, 'longitude' => $result->longitude, 'radius' => $result->radius));

or check this project where we used it: https://github.com/Gisleburt/yahoohack, (*3)

The Versions

05/05 2013

dev-master

9999999-dev https://github.com/machek/MMYQL

Zend Framework 2 module for easy access to YQL (Yahoo! Query Language)

  Sources   Download

MIT

The Requires

 

zf2 module yql