0

Using YQL for getting Yahoo! Local data for London, UK

I've been trying to use YQL to get local data for London, UK, but cannot seem to figure out how to write the query (I can do it for US cities). Can someome please guide me?

I'm quite thankful for your time and effort.

by
4 Replies
  • QUOTE (Kishore @ Jun 29 2010, 12:23 AM) <{POST_SNAPBACK}>
    I've been trying to use YQL to get local data for London, UK, but cannot seem to figure out how to write the query (I can do it for US cities). Can someome please guide me?

    I'm quite thankful for your time and effort.


    If you can provide a sample query on what you are using for US and what you are trying for London, it might be easier to help.
    -balaji
    0
  • QUOTE (Kishore @ Jun 29 2010, 12:23 AM) <{POST_SNAPBACK}>
    I've been trying to use YQL to get local data for London, UK, but cannot seem to figure out how to write the query (I can do it for US cities). Can someome please guide me?

    I'm quite thankful for your time and effort.


    From September 2009
    http://developer.yahoo.net/forum/index.php...86&hl=local
    From May 2009
    http://developer.yahoo.net/forum/?showtopic=980&hl=local
    I find it hard to understand why I can do a Yahoo! local web search for the UK, but I cannot access the same data via the API.
    0
  • QUOTE (hapdaniel @ Jul 1 2010, 02:39 AM) <{POST_SNAPBACK}>
    From September 2009
    http://developer.yahoo.net/forum/index.php...86&hl=local
    From May 2009
    http://developer.yahoo.net/forum/?showtopic=980&hl=local
    I find it hard to understand why I can do a Yahoo! local web search for the UK, but I cannot access the same data via the API.


    Thank you, hapdaniel. I typed an elaborate reply but lost it since Yahoo said I typed the authorization code wrong (there was no authorization code asked in the first place). Anyway, I'd seen the first link before I posted here. The problem seems to persist yet.

    Balaji, thanks for trying to help. There was no probelm with the query - this is a known issue :(.
    0
  • What are you trying to do? If you use the geo.places table getting information for London, England (or actually anywhere in the world) is as simple as

    CODEBOX
    select * from geo.places where text="london,uk"


    This also works with postcodes, for example my flat:

    CODEBOX
    select * from geo.places where text="n42xx"


    It seems to me your problem is that you are trying to access the authenticated endpoint of YQL whilst what you really need is the public one:

    click here to see the result of the above query
    0

Recent Posts

in YQL