make variable "api_list" global