add the api & adjust the requiremetns.txt