|
| 1 | +Example output |
| 2 | +============== |
| 3 | + |
| 4 | + $ ./yql |
| 5 | + > show tables; |
| 6 | + 169 results returned |
| 7 | + Time: Service: 0; User: 1; Exec: n/a |
| 8 | + {'table': ['answers.getbycategory', |
| 9 | + 'answers.getbyuser', |
| 10 | + 'answers.getquestion', |
| 11 | + 'answers.search', |
| 12 | + {'content': 'appdb.application', 'security': 'APP'}, |
| 13 | + {'content': 'appdb.application.scopes', 'security': 'APP'}, |
| 14 | + {'content': 'appdb.developer', 'security': 'APP'}, |
| 15 | + 'appdb.search', |
| 16 | + 'atom', |
| 17 | + 'csv', |
| 18 | + 'data.uri', |
| 19 | + {'content': 'fantasysports.draftresults', 'security': 'USER'}, |
| 20 | + {'content': 'fantasysports.games', 'security': 'USER'}, |
| 21 | + {'content': 'fantasysports.leagues', 'security': 'USER'}, |
| 22 | + {'content': 'fantasysports.leagues.scoreboard', |
| 23 | + 'security': 'USER'}, |
| 24 | + {'content': 'fantasysports.leagues.settings', 'security': 'USER'}, |
| 25 | + {'content': 'fantasysports.leagues.standings', 'security': 'USER'}, |
| 26 | + {'content': 'fantasysports.players', 'security': 'USER'}, |
| 27 | + {'content': 'fantasysports.players.ownership', 'security': 'USER'}, |
| 28 | + {'content': 'fantasysports.players.stats', 'security': 'USER'}, |
| 29 | + {'content': 'fantasysports.teams', 'security': 'USER'}, |
| 30 | + {'content': 'fantasysports.teams.roster', 'security': 'USER'}, |
| 31 | + {'content': 'fantasysports.teams.roster.stats', |
| 32 | + 'security': 'USER'}, |
| 33 | + {'content': 'fantasysports.teams.stats', 'security': 'USER'}, |
| 34 | + 'feed', |
| 35 | + 'flickr.groups.info', |
| 36 | + 'flickr.groups.pools.photos', |
| 37 | + 'flickr.people.findbyusername', |
| 38 | + 'flickr.people.info2', |
| 39 | + 'flickr.people.publicphotos', |
| 40 | + 'flickr.photos.exif', |
| 41 | + 'flickr.photos.info', |
| 42 | + 'flickr.photos.interestingness', |
| 43 | + 'flickr.photos.recent', |
| 44 | + 'flickr.photos.search', |
| 45 | + 'flickr.photos.sizes', |
| 46 | + 'flickr.photosets.info', |
| 47 | + 'flickr.photosets.photos', |
| 48 | + 'flickr.places', |
| 49 | + 'flickr.places.info', |
| 50 | + 'flickr.urls.lookupuser', |
| 51 | + 'geo.concordance', |
| 52 | + 'geo.continents', |
| 53 | + 'geo.counties', |
| 54 | + 'geo.countries', |
| 55 | + 'geo.districts', |
| 56 | + 'geo.oceans', |
| 57 | + 'geo.placefinder', |
| 58 | + 'geo.placemaker', |
| 59 | + 'geo.places', |
| 60 | + 'geo.places.ancestors', |
| 61 | + 'geo.places.belongtos', |
| 62 | + 'geo.places.children', |
| 63 | + 'geo.places.common', |
| 64 | + 'geo.places.descendants', |
| 65 | + 'geo.places.neighbors', |
| 66 | + 'geo.places.parent', |
| 67 | + 'geo.places.siblings', |
| 68 | + 'geo.placetypes', |
| 69 | + 'geo.seas', |
| 70 | + 'geo.states', |
| 71 | + 'html', |
| 72 | + 'json', |
| 73 | + 'local.search', |
| 74 | + 'maps.map', |
| 75 | + 'maps.traffic', |
| 76 | + 'meme.followers', |
| 77 | + 'meme.following', |
| 78 | + 'meme.functions', |
| 79 | + 'meme.info', |
| 80 | + 'meme.memes', |
| 81 | + 'meme.people', |
| 82 | + 'meme.popular', |
| 83 | + 'meme.post.info', |
| 84 | + 'meme.posts', |
| 85 | + 'meme.posts.featured', |
| 86 | + 'meme.recommended', |
| 87 | + 'meme.search', |
| 88 | + 'meme.shortener', |
| 89 | + {'content': 'meme.user.comments', 'security': 'USER'}, |
| 90 | + {'content': 'meme.user.dashboard', 'security': 'USER'}, |
| 91 | + {'content': 'meme.user.following', 'security': 'USER'}, |
| 92 | + {'content': 'meme.user.posts', 'security': 'USER'}, |
| 93 | + 'microformats', |
| 94 | + 'music.artist.id', |
| 95 | + 'music.artist.popular', |
| 96 | + 'music.artist.search', |
| 97 | + 'music.artist.similar', |
| 98 | + 'music.release.artist', |
| 99 | + 'music.release.id', |
| 100 | + 'music.release.popular', |
| 101 | + 'music.release.search', |
| 102 | + 'music.track.id', |
| 103 | + 'music.track.popular', |
| 104 | + 'music.track.search', |
| 105 | + 'music.video.category', |
| 106 | + 'music.video.id', |
| 107 | + 'music.video.popular', |
| 108 | + 'music.video.search', |
| 109 | + 'music.video.similar', |
| 110 | + 'mybloglog.community.find', |
| 111 | + 'mybloglog.member', |
| 112 | + 'mybloglog.member.contacts', |
| 113 | + 'mybloglog.member.newwithcontacts', |
| 114 | + 'mybloglog.member.newwithme', |
| 115 | + 'mybloglog.members.find', |
| 116 | + {'content': 'mybloglog.stats.find', 'security': 'APP'}, |
| 117 | + 'ocp-sanitize', |
| 118 | + 'rss', |
| 119 | + 'search.images', |
| 120 | + 'search.news', |
| 121 | + 'search.siteexplorer.inlinks', |
| 122 | + 'search.siteexplorer.pages', |
| 123 | + 'search.spelling', |
| 124 | + 'search.suggest', |
| 125 | + 'search.termextract', |
| 126 | + 'search.web', |
| 127 | + {'content': 'social.connections', 'security': 'USER'}, |
| 128 | + {'content': 'social.connections.updates', 'security': 'APP'}, |
| 129 | + {'content': 'social.contacts', 'security': 'USER'}, |
| 130 | + {'content': 'social.contacts.connections', 'security': 'USER'}, |
| 131 | + {'content': 'social.contacts.sync', 'security': 'USER'}, |
| 132 | + {'content': 'social.contacts.updates', 'security': 'USER'}, |
| 133 | + {'content': 'social.notifications', 'security': 'USER'}, |
| 134 | + {'content': 'social.notifications.summary', 'security': 'APP'}, |
| 135 | + {'content': 'social.presence', 'security': 'APP'}, |
| 136 | + {'content': 'social.profile', 'security': 'APP'}, |
| 137 | + {'content': 'social.profile.image', 'security': 'APP'}, |
| 138 | + {'content': 'social.profile.status', 'security': 'APP'}, |
| 139 | + {'content': 'social.relationships', 'security': 'USER'}, |
| 140 | + {'content': 'social.relationships.updates', 'security': 'APP'}, |
| 141 | + {'content': 'social.updates', 'security': 'APP'}, |
| 142 | + {'content': 'social.updates.activitystreams', 'security': 'APP'}, |
| 143 | + {'content': 'social.updates.search', 'security': 'APP'}, |
| 144 | + 'upcoming.category', |
| 145 | + 'upcoming.country', |
| 146 | + 'upcoming.events', |
| 147 | + 'upcoming.events.bestinplace', |
| 148 | + 'upcoming.groups', |
| 149 | + 'upcoming.metro', |
| 150 | + 'upcoming.state', |
| 151 | + 'upcoming.user', |
| 152 | + 'upcoming.venue', |
| 153 | + 'uritemplate', |
| 154 | + 'weather.forecast', |
| 155 | + 'xml', |
| 156 | + 'xslt', |
| 157 | + 'yahoo.coke', |
| 158 | + 'yahoo.dht', |
| 159 | + {'content': 'yahoo.identity', 'security': 'APP'}, |
| 160 | + 'yahoo.memcache', |
| 161 | + 'yahoo.shortener', |
| 162 | + 'yahoo.ucsdata', |
| 163 | + 'yahoo.urldb', |
| 164 | + 'yahoo.y.ahoo.it', |
| 165 | + 'yap.setsmallview', |
| 166 | + {'content': 'ymail.folders', 'security': 'USER'}, |
| 167 | + {'content': 'ymail.messages', 'security': 'USER'}, |
| 168 | + {'content': 'ymail.msgcontent', 'security': 'USER'}, |
| 169 | + {'content': 'ymail.search', 'security': 'USER'}, |
| 170 | + {'content': 'yql.env', 'security': 'APP'}, |
| 171 | + {'content': 'yql.queries', 'security': 'USER'}, |
| 172 | + {'content': 'yql.queries.query', 'security': 'USER'}, |
| 173 | + 'yql.query.multi', |
| 174 | + 'yql.storage', |
| 175 | + 'yql.storage.admin', |
| 176 | + 'yql.table.desc', |
| 177 | + 'yql.table.list', |
| 178 | + 'yql.tables']} |
| 179 | + > select * from geo.places where text = 'united states'; |
| 180 | + 1 results returned |
| 181 | + Time: Service: 46; User: 48; Exec: 46 |
| 182 | + {'place': {'admin1': None, |
| 183 | + 'admin2': None, |
| 184 | + 'admin3': None, |
| 185 | + 'areaRank': '14', |
| 186 | + 'boundingBox': {'northEast': {'latitude': '71.441048', |
| 187 | + 'longitude': '-66.940643'}, |
| 188 | + 'southWest': {'latitude': '18.911720', |
| 189 | + 'longitude': '-179.150558'}}, |
| 190 | + 'centroid': {'latitude': '37.167931', 'longitude': '-95.845016'}, |
| 191 | + 'country': {'code': 'US', |
| 192 | + 'content': 'United States', |
| 193 | + 'type': 'Country'}, |
| 194 | + 'lang': 'en-US', |
| 195 | + 'locality1': None, |
| 196 | + 'locality2': None, |
| 197 | + 'name': 'United States', |
| 198 | + 'placeTypeName': {'code': '12', 'content': 'Country'}, |
| 199 | + 'popRank': '0', |
| 200 | + 'postal': None, |
| 201 | + 'uri': 'http://where.yahooapis.com/v1/place/23424977', |
| 202 | + 'woeid': '23424977'}} |
| 203 | + > |
0 commit comments