So we’re trying to create a tap for a REST endpoin...
# singer-tap-development
m
So we’re trying to create a tap for a REST endpoint that only uses XML for requests/responses. Unless I’m missing something in the SingerSDK repo, it seems like it only supports JSON. Is there a plan to support XML as well?
a
Hi, @michael_cooper. This isn't on our radar yet. A quick Google search leads me to think it may be tricky to integrate xml request/response formats with the Python requests library. That said, a logged issue would be welcome, and certainly sounds like something we could accept in an MR if it's a feature you would be interested in contributing towards. https://stackoverflow.com/a/18308594 (fixed)
m
Sounds good. We’ve worked with XML in the past, and I’ll probably at first use the
RESTStream
class as a starting point. Additionally, that link doesn’t work for me.
a
I do think the RESTStream base class should be a good starting point. You'll probably need to override some private members, but if you're able to get it working, I'd love to incorporate the lessons learned back into the SDK to benefit future devs as well.