Create automatic search timeline Widget for different Hashtags



I’m working on a website project and I need to create automatic search timelines widgets for different Hashtags.
I know that I can do it creating a new widget in my twitter account but I need to create these widgets automatically, on the fly.

In users Timeline widget , If I change the user name but use the same code works , but with Search timelines not.

Is there any way to do it with API 1.1 or something similar?

Thanks in advance.