you can do this easily with the api or with codex