cristighr1995 / Holiholic

A trip planner and travel guide application which offers activity suggestions and personalized day plans based on user’s preferences and profile.
Apache License 2.0
2 stars 0 forks source link

[HH-40][PLACES_API] Create places API #43

Closed cristighr1995 closed 5 years ago

cristighr1995 commented 5 years ago

This PR contains the library which will be used in order to retrieve information about places. It downloads the places from the internet, parses the result and converts the result into internal format.

In order to use this API the user should do the following operations:

  1. Get a list of PlaceCategory from the database.
  2. Call Places.getPlaces("Bucharest", placeCategory); which returns a JSONArray containing a JSONObject for each place from that category. This call should be done for each placeCategory.
cristighr1995 commented 5 years ago

Related issue: https://github.com/cristighr1995/Holiholic/issues/40