Create Embedded Timeline widget based on username


I have a lot of websites where I want to implement the Embedded Timeline widget. Now, for all those websites I have a twitter username in the database. Is there any way to dynamically get this widget on every website, where it will show the tweets for that username? I could search all those data-widget-id’s on my own, but that would be an awful lot of work. There must be something smart I can do that I’m missing.

Any help is appreciated