|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.aetna.api.goodrx.GoodRXAPI
public class GoodRXAPI
GoodRX application program interface java endpoitns.
| Constructor Summary | |
|---|---|
GoodRXAPI(java.lang.String apiKey)
|
|
| Method Summary | |
|---|---|
java.lang.String |
getApiKey()
Retrieve current api key that was specified |
java.util.List<DrugPrices> |
listDrugComparePrices(java.util.Map<java.lang.String,java.lang.String> searchParameters)
Retrieves the available price for a prescription medication |
java.util.List<DrugPrices> |
listDrugLowestPrices(java.util.Map<java.lang.String,java.lang.String> searchParameter)
Retrieves the lowest available price for a prescription medication |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public GoodRXAPI(java.lang.String apiKey)
apiKey - the API key| Method Detail |
|---|
public java.lang.String getApiKey()
public java.util.List<DrugPrices> listDrugLowestPrices(java.util.Map<java.lang.String,java.lang.String> searchParameter)
throws InvalidCredentialException,
java.io.IOException,
java.net.MalformedURLException
searchParameter - the drug's parameters
InvalidCredentialException
java.io.IOException
java.net.MalformedURLException
public java.util.List<DrugPrices> listDrugComparePrices(java.util.Map<java.lang.String,java.lang.String> searchParameters)
throws InvalidCredentialException,
java.io.IOException,
java.net.MalformedURLException
searchParameter - the drug's parameters
InvalidCredentialException
java.io.IOException
java.net.MalformedURLException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||