change tags_recently to api.py