Youtube videos aggregator

hey guys,
i am looking for a sminple php script that allows me to add a bunch of youtube channels, automoaticly list them, have tha ability to flter out trending or most watched, and finally have an api to retrieve those videos list

any chance someone know a script that can do that ?