yql

Yahoo weather API, randomly returns old data?

旧城冷巷雨未停 提交于 2019-12-03 07:34:37
问题 I started using Yahoo's free weather API to get the weather data I need, but it seems each time I request a city weather data there is a chance that either I get updated data or old data from back to 1 to 8 days. Here is a simple URL which I make my request with: Click here to see a sample request The YQL query is simple, which requests the weather data for New York city: select * from weather.forecast where woeid in (select woeid from geo.places(1) where text="New York") But each time I

Yahoo Weather Query by Latitude and Longitude

倖福魔咒の 提交于 2019-12-03 06:13:50
问题 I want to fetch some weather data via latitude and longitude using yahoo query. but it seems this query is not available now. the query is below: select * from weather.forecast where woeid in (SELECT woeid FROM geo.placefinder WHERE text="{lat},{lon}" and gflags="R") is this query is changed to new one or something? or it didn't exist anymore? last time I use this format was about 2 months ago and it worked well. but now it can't fetch any data. result from YQL console is as below: { "error":

Any .NET examples for Yahoo Query Language (YQL)?

北慕城南 提交于 2019-12-02 23:29:23
I'd like to make some simple calls to Yahoo Query Language (YQL) . Has anyone implemented this in .NET? Here is the query I'd like to make from .NET: select MarketCapitalization from yahoo.finance.quotes where symbol in ("YHOO","AAPL","GOOG","MSFT","unknown") Update Everything is working 100%, thanks @fernaramburu. fernaramburu Yes. There two good examples that are actually working because I just tested some hours ago... http://jarloo.com/get-yahoo-finance-api-data-via-yql/ and http://jarloo.com/code/get-historical-stock-data/ Hope this help! It helps me a lot! Not really an example, but a

Yahoo weather API, randomly returns old data?

时间秒杀一切 提交于 2019-12-02 22:31:04
I started using Yahoo's free weather API to get the weather data I need, but it seems each time I request a city weather data there is a chance that either I get updated data or old data from back to 1 to 8 days. Here is a simple URL which I make my request with: Click here to see a sample request The YQL query is simple, which requests the weather data for New York city: select * from weather.forecast where woeid in (select woeid from geo.places(1) where text="New York") But each time I refresh that URL, I might get a completely different result. for example I did refresh it right now a

Getting currency conversion data from Yahooapis now that iGoogle is gone

醉酒当歌 提交于 2019-12-02 14:01:51
问题 Up until yesterday I had a perfectly working budget organizer site/app working with iGoogle. Through PHP, using the following little line file_get_contents('http://www.google.com/ig/calculator?hl=en&q=1usd=?eur'); and similar I was able to get all I needed. As of today, this is no longer working. When I looked into the issue, what has happened is that Google has retired iGoogle. Bummer! Anyway, I was looking around elsewhere but I can't find anything that fits my needs. I would REALLY love to

Getting currency conversion data from Yahooapis now that iGoogle is gone

好久不见. 提交于 2019-12-02 05:42:05
Up until yesterday I had a perfectly working budget organizer site/app working with iGoogle. Through PHP, using the following little line file_get_contents('http://www.google.com/ig/calculator?hl=en&q=1usd=?eur'); and similar I was able to get all I needed. As of today, this is no longer working. When I looked into the issue, what has happened is that Google has retired iGoogle. Bummer! Anyway, I was looking around elsewhere but I can't find anything that fits my needs. I would REALLY love to just fix it and get it running again by just switching this one line of code (i.e. changing the Google

Cross-domain requests with JQuery using YQL

自闭症网瘾萝莉.ら 提交于 2019-12-01 14:58:23
So I need to make a a cross domain request where the response is not JSON formatted, so I cannot use .getJSON. .get obviously doesn't work because it is a cross domain request. I came across this ( Read this ) when I was googling and it seems it should work for what I want to do (which is do a cross domain call that isn't json formatted using a jquery plug in). My code looks like the following. I know the url works fine because if I paste it into my browser, I can see the response, which according to last.fm documentation The body of the server response consists of a series of \n (ASCII 10)

How do I get started with oauth for YQL for historical stock data?

天大地大妈咪最大 提交于 2019-12-01 11:06:00
问题 in my search for a market data feed, I've been led to YQL for yahoo finance. It looks great, and very simple for the public use/ queries, but the daily limit for the public version is too small for my needs.. I got my yahoo ID to get started with oauth, but I can't find any good examples pertaining to what I'm trying to do... I'd like to "sign in" with my desktop app in C#, and proceed to download data of interest. How do I use the oath dimension? My background as a point of reference is

Can someone help me with using livestream's api to make a cross domain xml request?

亡梦爱人 提交于 2019-12-01 09:43:01
I'm trying to use livestream's extremely helpful mobile api found at http://www.livestream.com/userguide/?title=Mobile_API#Requesting_a_mobile_stream to make an xml request. All I am interested in is the isLive response value. I am trying to use an ajax request like this $.ajax({ type: "GET", url: "http://xproshowcasex.channel-api.livestream-api.com/2.0/getstream", datatype: "xml", success: function(xml){ //this is where I need help. This is what I would like to happen if (isLive == true) { //perform action } else { //perform other action } I am using the plugin found at http://james.padolsey

Can someone help me with using livestream's api to make a cross domain xml request?

情到浓时终转凉″ 提交于 2019-12-01 08:12:54
问题 I'm trying to use livestream's extremely helpful mobile api found at http://www.livestream.com/userguide/?title=Mobile_API#Requesting_a_mobile_stream to make an xml request. All I am interested in is the isLive response value. I am trying to use an ajax request like this $.ajax({ type: "GET", url: "http://xproshowcasex.channel-api.livestream-api.com/2.0/getstream", datatype: "xml", success: function(xml){ //this is where I need help. This is what I would like to happen if (isLive == true) { /