Goodreads used to have an API but they stopped giving access and it looks like they are shutting it down. A real garbage move.
I like to be able to use my data that I put in so I wrote a script to automatically download my data regularly. Then I can do stuff like check to see if books I want are in the library or keep my own list or analytics, etc.
Here’s the python script to export your good reads library, hope it helps you. I’ll put it in the public domain.
Updated to add: I got tired of dealing with places that do garbage moves. I left GoodReads for BookWyrm and it’s better.