Skip to content

API: Retrieve list of attractions by location

Implement a new API endpoint to retrieve a list of local attractions based on a specified city input. Return the output sorted by rating

City-Based Attractions Endpoint:

  • Develop an API endpoint to retrieve attractions based on a specified city.
  • API endpoint provides detailed information about each attraction
    • attraction name
    • attraction type
    • attraction image
    • price
    • ratings

Filtering and Sorting:

  • Integrate options for users to filter attractions based on criteria such as popularity, ratings, or distance.
Edited by Bonnie Peng