public class JOMDBRequests extends Object
| Constructor and Description |
|---|
JOMDBRequests() |
| Modifier and Type | Method and Description |
|---|---|
org.json.JSONObject |
getJSON(Map<String,String> params)
Gets the JSON result at the URL constructed with the given parameters.
|
org.json.JSONObject |
getJSON(String url)
Gets the JSON result at the given URL.
|
String |
getURL(Map<String,String> params)
Gets the URL to be queried given query parameters.
|
public static final String API_URL
public String getURL(Map<String,String> params)
params - The parameters.public org.json.JSONObject getJSON(String url)
url - The URL.Copyright © 2017. All rights reserved.