I now have a working version of a module for the Citysearch (Citygrid) Search API. This is a block module that creates a form for entering three bits of information: what to search for, geographic location, and whether to look for a location or an event. If the search is succcessful, the form is replaced by the search results. The code includes jQuery ajax to do the block replacement and curl to fetch the results from the API server. The module requires an account (free) with Citysearch, which is administered by the Mashery.

Is there interest in this API in the Drupal community? Is this something worth pursuing as a project here?

Comments

hankliu’s picture

This is definitely an interesting project to be, considering how hot location based services are now. Looking forward to test this module.

grong’s picture

This can be a meaningful module. I would look forward to trying it out.

stg11’s picture

I am very interested in this, but it needs some more features.

I am not sure putting it in blocks is the ideal way.

For starters, it would be excellent if it could create a result that looks very similar to citygrid.com with the mapquest block integrated with the search results, and allow user search or pre-set search keys, to support one-page sites for a specific keyword/location combination.