×

Discussion Board

Results 1 to 4 of 4
  1. #1
    Registered User
    Join Date
    Mar 2013
    Posts
    5

    Obtaining suggestions via the places api?

    What is a way in which suggestions for places could be obtained using the places restful api? Would this be a search by category? If so how can I obtain a list of possible categories?

  2. #2
    Nokia Developer Moderator
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,167

    Re: Obtaining suggestions via the places api?

    there is the Search Suggestion Resource , which you would use for getting suggestions, so have you checked it, and if so, what kind of problems do you have using it ?
    here's the link for the docs: http://developer.here.com/docs/place...e-suggest.html

    For categories, you can either use the ones available for all regions: http://developer.here.com/docs/place...ategories.html or get the locally relevant ones: http://developer.here.com/docs/place...ory-graph.html

  3. #3
    Nokia Developer Moderator
    Join Date
    May 2007
    Location
    21.46 N 72.11 E
    Posts
    3,795

    Re: Obtaining suggestions via the places api?

    Just to clarify, the suggest resources is for partial keywords. So if a partial keyword is provided, it gives you all possible search terms in the context of location (geos) provided.

    Like for example, if the partial keyword is pizz and the location is Berlin (37.7851,-122.4047), the suggest resource returns the following terms.

    {
    suggestions: [ Pizzaro Way, San Francisco, CA 94112, USA , Cupola Pizzeria , California Pizza Kitchen , Villa Pizza , Blondie's Pizza , Pizza Prada , Moscone Pizzadelli , New York Pizza Kitchen , Pizzelle , Julia Pizza ]
    }
    Demo query request: http://demo.places.nlp.nokia.com/pla...CG24t50dHOwrLQ

    Ideally, you can use the suggest resource to get the possible search terms, and then use the search resource to search for places.
    Pankaj Nathani
    www.croozeus.com

  4. #4
    Nokia Developer Expert
    Join Date
    Apr 2012
    Location
    Berlin, Germany
    Posts
    42

    Re: Obtaining suggestions via the places api?

    Hi,

    Probably suggest (which is mainly used for giving hints while typing in search fields) is not what you need.

    Could you describe what you want to achieve? Depending on your use case, the /discover/explore resource could be your friend. It returns recommended places for a given position or region. The results can be restricted to a list of categories.

    A list of categories can be retrieved through the /categories/places resource.

    Best,
    daniel.
    Last edited by danielmoor; 2013-03-13 at 05:24.
    Daniel Moor
    Nokia Places API

Similar Threads

  1. Nokia Places API FAQ
    By Nokia Ron in forum [Archived] Places API
    Replies: 1
    Last Post: 2013-04-25, 13:06
  2. Places API via https
    By sje_itx in forum [Archived] Maps API for Javascript
    Replies: 1
    Last Post: 2013-04-24, 10:41
  3. Places API Serversided
    By Wiamor in forum [Archived] Places API
    Replies: 7
    Last Post: 2012-11-09, 10:12
  4. API to get all the places in X-MAP-VIEWPORT
    By rajusb19 in forum [Archived] Places API
    Replies: 3
    Last Post: 2012-06-25, 16:39
  5. Welcome to the Nokia Places API
    By Nokia Ron in forum [Archived] Places API
    Replies: 0
    Last Post: 2012-03-29, 15:53

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×