CoPilot Local Search Web Service
So I was going through the CoPilot Live 7 config files to see if there were any interesting tweaks I could do.
Along the way I found the following setting:
[Settings]
“SoapEndpointUrl”=”http://copilotws.qa.alk.com/”
“ReleaseSoapEndpointUrl_DoNotTouch”=”http://copilotws.alk.com/”
“SearchRadius”=250
“ResultsPerPage”=10
Hmmm… Looks interesting, and represents a web service provided by ALK/CoPilot.
Visual Studio 2005 can easily incorporate it into a Web Reference and I was able to start querying the web service – there’s no checking as to the browser ID so anyone can use it…. And I did.
The LocalSearch web service takes the following parameters:
- searchQuery
- latitude
- longitude
- radius
- offset
- numResults
searchQuery is a string that takes a category. The Categories listed in CoPilot itself provide a good index, including “Galleries”, “Banks”, “Hospitals” and much much more.
latitude/longitude are as decimal degrees.
radius is in metres
offset represents the offset in the finished results list. This allows you to do a ’search’ followed by ‘more results’.
numResults is the number of results you want to retrieve.
Enjoy!!
1 Comment »
RSS feed for comments on this post. TrackBack URL
Leave a comment
You must be logged in to post a comment.










[...] recorded first by kxpauls on 2008-08-17→ CoPilot Local Search Web Service [...]