PHP library for convenient YQL querying
PHP
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
Exception.php
Response.php
YQL.php
license.txt
readme.txt

readme.txt

Welcome to YQL PHP Library
==========================

YQL PHP Library is alibrary for convenient executions of Yahoo Query Language queries.

Requirements
------------

YQL PHP Library requires PHP 5.3. 

Installation
------------

Just copy the files into your lib folder and require YQL.php;


Quick start
---------------

Static style:
    $response = YQL::query('select * from internet');
    
Object style:
    $yql = new YQL;
    $response = $yql->execute('select * from internet');

or:
    $yql = new YQL;
    $ylq->setQuery('select * from internet');
    $response = $yql->execute();

Get the count of result elements:
    $response->count or $response->getCount()

Get the result elements:
    $response->results or $response->getResults()