rename timeline() to api()