0

High :: LocalSearch not available for India?

Hi...

We are building up a social platform using YAP, but surprisingly we notice, when we use YQL to extract data segments of Localsearch > Weather > Upcoming and key in the location to be indian city names, we don't get results suitably matching...why is it, doesn't yahoo support Indian cities at this point on there API's spread across Geo and Local search?


Ex : select * from local.search where latitude='12.9558' and longitude ='77.620979' and query='pizza'

For weather, what should i key in as location?

select * from weather.forecast where location=bangalore >> this doesn't work...

how could we use YQL for supporting Local search, Upcoming and weather based on Indian city names as the location attribute...

Appreciate any help on this front, many Thanks

by
2 Replies
  • This reminds me an awful lot of this Yahoo! Pipes message board thread.
    http://discuss.pipes.yahoo.com/Message_Boa...52&mid=3036
    0
  • QUOTE (Sri @ Mar 17 2009, 07:23 AM) <{POST_SNAPBACK}>
    Hi...

    We are building up a social platform using YAP, but surprisingly we notice, when we use YQL to extract data segments of Localsearch > Weather > Upcoming and key in the location to be indian city names, we don't get results suitably matching...why is it, doesn't yahoo support Indian cities at this point on there API's spread across Geo and Local search?


    Ex : select * from local.search where latitude='12.9558' and longitude ='77.620979' and query='pizza'

    For weather, what should i key in as location?

    select * from weather.forecast where location=bangalore >> this doesn't work...

    how could we use YQL for supporting Local search, Upcoming and weather based on Indian city names as the location attribute...

    Appreciate any help on this front, many Thanks


    For weather you can use the following URL

    use 'http://www.javarants.com/weather/weather.search.xml' as ws;use 'http://www.javarants.com/weather/weather.local.xml' as wl;
    select * from wl where location in (select id from ws where query='bangalore')

    This uses a custom restdefinition which up on http://github.com/spullara/yql-tables/tree/master

    Let me get back to you on the other services.

    -- Nagesh
    0

Recent Posts

in YQL