Hi team! I have a question about a custom connecto...
# ask-community-for-troubleshooting
e
Hi team! I have a question about a custom connector I am developing… would this be the right channel to post it in? I don’t see any existing channels dedicated to connector development, but maybe I missed it?
This is my question, anyway: I am building out a connector to serve the “ad stats” endpoint from the Snapchat API (the current connector does not include this). To fetch stats for all ads associated with a given organization, I need to return responses from a list of endpoints, iterating over a set of ad_ids. For example we might have ad_ids = [‘foo’,‘bar’,‘baz’] And a URL constructed like
<url_base>/<ad_id>/<query parameters>
So we would want to get data for
<url_base>/foo/<query parameters>
<url_base>/bar/<query parameters>
<url_base>/baz/<query parameters>
I am familiar with the design pattern of having classes returning a single endpoint with pagination logic, but I’ve not yet implemented something like this. Would appreciate any pointers!
m
We’re moving to Discourse @Emily Cogsdill if you don’t mind creating a topic there would be really helpful for future discoverability
e
ah, got it! I’ll have a look, thanks 👍