Connect wordpress api with coda

Hello, I want to connect with the wordpress api to coda.io and from coda to be able to see the services, and the pages that the website has. How could I do it, I tried different typescript codes but none of them worked to connect, any ideas?