         
         // Where appropriate, add the key
         switch APIHost {
-        case "http://api.dol.gov":
+        case URL_API_V1:
             queryString = "?KEY=" + APIKey
+        case URL_API_V2:
+            queryString = ""
         case "http://api.census.gov", "http://pillbox.nlm.nih.gov":
             queryString = "?key=" + APIKey
         case "http://api.eia.gov", "http://developer.nrel.gov", "http://api.stlouisfed.org", "http://healthfinder.gov":

    func didCompleteWithError(errorMessage: String)
    func didCompleteWithDictionary(results: NSDictionary)
    func didCompleteWithXML(results:XMLIndexer)
}

class GovDataRequest {
    
    var delegate: GovDataRequestProtocol? = nil

    var APIKey = ""
    var APIHost = ""
    var APIURL = ""
    var responseFormat = "JSON"
    var timeOut = 60.0
    
    init(APIKey: String, APIHost: String, APIURL:String) {
        self.APIKey = APIKey

                    queryString += "&" + argKey + "=" + argValue
                }
            }
            
        }
        
        //If there are arguments, append them to the url
