added getAPIConfig method