The official Quip API Python client library.
client = quip.QuipClient(access_token="...")
user = client.get_authenticated_user()
starred = client.get_folder(user["starred_folder_id"])
print "There are", len(starred["children"]), "items in your starred folder"