1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 |
#Well, it does not work like that #IMPORTANT #Console: https://developer.yahoo.com/yql/console/ #YOUR YQL STATEMENT: select * from flickr.photos.search where text="Cat" and api_key="XXXXX" limit 10 #URL: https://developer.yahoo.com/yql/console/# #h=select%20*%20from%20flickr.photos.search%20where%20text #%3D%22Cat%22%20and%20api_key #%3D%22XXXXX%22%20limit%2010 #Need an Api Key $ur="https://bit.ly/YSJjT9" $result=(Invoke-WebRequest -Uri $ur) $conv=$result.Content $convi = $conv | ConvertFrom-JSON foreach($i in $convi) {$a=$i.query.results.photo $a.id,$a.title} |