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:
Get a list of PlaceCategory from the database.
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.
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:
PlaceCategory
from the database.Places.getPlaces("Bucharest", placeCategory);
which returns aJSONArray
containing aJSONObject
for each place from that category. This call should be done for eachplaceCategory
.