Hi. Can be done with the best quality.
I have previous experience with SE and SEO API (such as Majestik and Moz), so it would not be a big problem to make script as you want.
I went through that docs, API push answers in JSON format, and we can make it as you need (like array or just text).
regards, Yuriy