This is a python3 library for controlling and querying information from an Apple TV. It is built upon asyncio and supports most of the commands that the regular Apple Remote app does and more!
All the documentation you need is available here.
To save you some time, here are some shortcuts:
As much information as possible is available via GitHub pages in order to minimize the amount of duplicated information. That is why.