SocialBlade/socialblade-js

Incorrect property for YouTubeUser

Closed this issue · 2 comments

The api response for the YouTube user contains statistics.growth.vidviews but the interface statistics.growth.views

Library Version: 1.0.3,

Node Version :v18.13.0

Hello, thanks for bringing this to our attention, it actually appears this is an issue caused by the API side, it was views for it appears it was mistakenly switched to vidviews.

That said, we will leave the API response as is since it was switched a bit ago now and will get the library updated instead to prevent breaking changes in the API itself.

Fixed in be6b773, v1.0.4 published to npm. Thanks again for the report! 👍🏻