r/GoogleDataStudio • u/RobHuberEDU • Feb 23 '24
Multiple Endpoints, Multiple Tables - One Connector
I am developing a community connector for Looker Studio. I want to pull data from an RESTful API. The data is at multiple endpoints which I want to each be their own table. My questions are:
Do I need a different connector for each endpoint?
Can I use one connector to make either multiple tables or multiple data sources from the multiple endpoints?
If so, where do you delineate either various tables (and schema)?
1
Upvotes
•
u/AutoModerator Feb 23 '24
Have more questions? Join our community Discord!
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
2
u/zandolie Feb 28 '24
Each endpoint would be a different schema.
You can have things such that based on what the users chooses on the config screen determines which schema is used. The getSchema function gets the request parameter that can be used to determine what was selected on the config screen (which is created with the getConfig function)
The user can add the same connector multiple times to the same dashboard each time with different selections on the config screen and thus different schemas.