witnessmenow / arduino-youtube-api

A wrapper around the youtube api for arduino
MIT License
141 stars 48 forks source link

Deprecate channel coment count #32

Closed dmadison closed 3 years ago

dmadison commented 3 years ago

As of September 9th, 2020 this resource property has been deprecated. The API still returns the value in JSON, but I tested with a number of channels, large and small, and they all report '0' for the commentCount field. See https://developers.google.com/youtube/v3/revision_history#september-9,-2020 for more info.

Because of this I've removed the commentCount print from both examples. ArduinoJSON gracefully handles missing values by reporting them as '0', so the struct value and parser can remain as is until the next major library release (3.0).

witnessmenow commented 3 years ago

Makes sense, thanks