Get API config, from application AND class