'get_from_api' method takes 2params : url, api_provider