cswendrowski / HumbleBundleBot

Scrapes HumbleBundle.com for new Bundles and posts new bundles to different Discord channels or generic webhooks whenever a new Bundle shows up.
56 stars 21 forks source link

[FEATURE] CurrentBundles Endpoint #9

Open cswendrowski opened 5 years ago

cswendrowski commented 5 years ago

Is your feature request related to a problem? Please describe. Users would like a way to view current bundles

Describe the solution you'd like New Function GetCurrentBundles that returns all current bundles

Describe alternatives you've considered Users could just view the HB website, but this isn't consumable in programs

Additional context Bundles currently don't have the concept of "Current", we presently just store all Bundles and check the scraped ones against the DB to see if any are new / updated. A new "IsCurrent" bool will need to be added that defaults to true and swaps to false when the bundle is no longer coming in on the scrape