Permalink
Browse files

Initial revision of README.

  • Loading branch information...
1 parent 59bdbca commit 6574628dfd6259da02574aa0fa14902943ae6176 @cwimmer committed Mar 4, 2012
Showing with 66 additions and 0 deletions.
  1. +66 −0 README
View
66 README
@@ -0,0 +1,66 @@
+WWW‐YQL‐0.001::lib::WWWU:s:eYrQLC(o3n)tributed Perl DocuWmWeWn‐tYaQtLi‐o0n.001::lib::WWW::YQL(3)
+
+
+
+NNAAMMEE
+ WWW::YQL − Module for YQL queries
+
+VVEERRSSIIOONN
+ version 0.001
+
+SSYYNNOOPPSSIISS
+ use WWW::YQL;
+
+ my $yql = WWW::YQL−>new();
+ my $data = $yql−>query("show tables");
+
+ foreach my $table ( @{ $data−>{'query'}{'results'}{'table'} }){
+ print "$table\n";
+ }
+
+ $data = $yql−>query("insert into yahoo.y.ahoo.it (url) values ('http://search.cpan.org/~cwimmer/')");
+
+ my $shorty=$data−>{'query'}−>{'results'}−>{'url'};
+
+ The User Agent that will be used to make the connection is available
+ from the ua() method. You may make changes to the User Agent
+ before running the query() method.
+
+ DDEESSCCRRIIPPTTIIOONN
+ This module is used to submit YQL queries and receive their responses.
+
+MMEETTHHOODDSS
+ qquueerryy
+ This method takes one argument, a string. The string is the YQL
+ query string for this request.
+
+ The return value is a has reference representing the result from
+ the YQL service.
+
+KKNNOOWWNN BBUUGGSS
+ None known at this time. Please log issues at:
+
+ https://github.com/cwimmer/www−yql/issues
+
+AAVVAAIILLAABBIILLIITTYY
+ Source code is available on GitHub:
+
+ https://github.com/cwimmer/www−yql
+
+ Module available on CPAN as WWW::YQL:
+
+ http://search.cpan.org/~cwimmer/
+
+AAUUTTHHOORR
+ Charles A. Wimmer <charles@wimmer.net>
+
+CCOOPPYYRRIIGGHHTT AANNDD LLIICCEENNSSEE
+ This software is Copyright (c) 2012 by Charles A. Wimmer.
+
+ This is free software, licensed under:
+
+ The (three−clause) BSD License
+
+
+
+perl v5.10.1 2012‐03‐04 WWW‐YQL‐0.001::lib::WWW::YQL(3)

0 comments on commit 6574628

Please sign in to comment.