nstack-in / youtube_api

This Plugin will help you in fetching data from Youtube. You just need YOUTUBE API KEY.
Other
55 stars 52 forks source link

Refactor code and add several features #50

Closed hyungtaecf closed 10 months ago

hyungtaecf commented 1 year ago

I refactored all the code organizing it making it less dynamic. I made many classes and enums mimicking the API for all the possibilities. I implemented only some that I would use for my current project but now it might be a lot easier for anyone that wants to expand the features to match other features of the API to contribute to this repo.

Among many of the possibilities, it is possible to search by specific IDs, search for playlists, videos, channels, etc. It is possible for the consumer of the API to choose what parts of the content they want to retrieve. By default, it will retrieve all the implemented parts.

hyungtaecf commented 10 months ago

Since there's no answer here, I made another package that anyone that wants to get those features can use.