You can write your own code to connect to the GitHub Copilot API. This is done very quickly with the new framework Sensei. Read more here: https://dev.to/blnkoff/sensei-simplify-api-client-generation-b2e