Loading ...
Sorry, an error occurred while loading the content.

Re: placefinder flags doesn't work?

Expand Messages
  • construcsdev
    Thanks for your quick response. I figured out that the ruby code example: http://developer.yahoo.com/boss/geo/docs/codeexamples.html Used a buggy oauth_util.rb
    Message 1 of 3 , Jan 23, 2013
    View Source
    • 0 Attachment
      Thanks for your quick response. I figured out that the ruby code example:
      http://developer.yahoo.com/boss/geo/docs/codeexamples.html
      Used a buggy oauth_util.rb . I have fixed it in:

      https://gist.github.com/4603517

      Thanks for your help.

      --- In ysearchboss@yahoogroups.com, Paymon wrote:
      >
      > Hi,
      >
      > Just tested this and works for me; here is the response back from your query in JSON:
      >
      > {"bossresponse":{"responsecode":"200","placefinder":{"start":"0","count":"1","request":"flags=J&location=1%20Kearny%20St.%2C%20San%20Francisco%2C%20CA","results":[{"quality":"87","latitude":"37.78808","longitude":"-122.40349","offsetlat":"37.788036","offsetlon":"-122.403648","radius":"400","name": "","line1":"1 Kearny St","line2":"San Francisco, CA 94108-5501","line3": "","line4":"United States","house":"1","street":"Kearny St","xstreet": "","unittype": "","unit": "","postal":"94108-5501","neighborhood": "","city":"San Francisco","county":"San Francisco County","state":"California","country":"United States","countrycode":"US","statecode":"CA","countycode": "","uzip":"94108","hash":"2182C9C56A3BEC1C","woeid":"12797159","woetype":"11"}]}}}
      >
      >
      >
      > ________________________________
      > From: construcsdev
      > To: ysearchboss@yahoogroups.com
      > Sent: Tuesday, January 22, 2013 5:43 PM
      > Subject: [ysearchboss] placefinder flags doesn't work?
      >
      > Hi all,
      >
      > For some reason, the 'flags' parameter doesn't seem to be working for me.  This call comes back fine with an XML document (appid munged):
      >
      > http://yboss.yahooapis.com/geo/placefinder?appid=XXXXXXX&location=1%20Kearny%20St.,%20San%20Francisco,%20CA
      >
      >
      >  
        ...
      >  
      >
      >
      > However, this:
      >
      > http://yboss.yahooapis.com/geo/placefinder?appid=XXXXXXX&location=1%20Kearny%20St.,%20San%20Francisco,%20CA&flags=J
      >
      > Gives me this error back in JSON!
      >
      > {"bossresponse":{"responsecode":"400","reason":"Invalid value in parameter 'flags'"}}
      >
      >
      >
      > Please help!  Thanks
      >
      >
      >
      > ------------------------------------
      >
      > Yahoo! Groups Links
      >
      >
      >
      >     http://docs.yahoo.com/info/terms/
      >
    Your message has been successfully submitted and would be delivered to recipients shortly.