add more api methods to datarank.py