Releases: nicklaw5/twitch-api-php
Releases · nicklaw5/twitch-api-php
v5.0.0 EventSub, Complete Endpoint Coverage & More
We've prepared a major release which contains breaking changes and (basically) complete endpoint coverage. This also includes our introduction in support for the Event Sub API.
BREAKING CHANGES
- Remove
SubscriptionsApi
->getSubscriptionEvents
#107 (pulled by Twitch) - Remove
StreamsApi
->getChannelInfo
#105 (duplicate, moved toChannelsApi
) - Remove
StreamsApi
->getStreamTags
#104 (duplicate, moved toTagsApi
) - Remove
StreamsApi
->getStreamsMetadata
#103 (pulled by Twitch)
NEW FUNCTIONS
- Add
AdsApi
- Add
AdsApi
->startCommercial
- Add
ChannelsApi
->modifyChannelInfo
- Add
ChannelPointsApi
->createCustomReward
- Add
ChannelPointsApi
->updateCustomReward
- Add
ChannelPointsApi
->updateRedemptionStatus
- Add
ModerationApi
->checkAutoModStatus
- Add
ModerationApi
->manageHeldAutoModMessage
- Add
PollsApi
->createPoll
- Add
PollsApi
->endPoll
- Add
PredictionsApi
->createPrediction
- Add
PredictionsApi
->endPrediction
- Add
StreamsApi
->createStreamMarker
- Add
TagsApi
->replaceStreamTags
- Add
EventSubApi
CORE
Add Get Polls and Predictions
NEW FEATURES
- Add
PollsApi
- Add
PollsApi
->getPolls
- Add
PredictionsApi
- Add
PredictionsApi
->getPredictions
Added getFollowedStreams Endpoint
NEW FUNCTIONS
- Added StreamsApi->getFollowedStreams
March 2021 Endpoints
NEW FUNCTIONS
- Added ChannelsApi
- Added ChannelsApi->getChannelInfo
- Added ChannelsApi->getChannelEditors
- Added UsersApi->getUserBlockList
- Added UsersApi->blockUser
- Added UsersApi->unblockUser
- Added VideosApi->deleteVideos
Added Teams API, Check User Subscription
NEW FUNCTIONS
- Added TeamsApi
- Added TeamsApi->getChannelTeams
- Added TeamsApi->getTeams
- Added SubscriptionsApi->checkUserSubscription
Thank you @ThibaultVlacich! 👍
v4.0.0 Code Cleanup & New Functions
BREAKING CHANGES
- Removed
communityIds
parameter ingetStreams
#89 - Renamed
getEntitlmentGrantsUploadURL
tocreateEntitlmentGrantsUploadURL
#93
NEW FUNCTIONS
- Added ChannelPointsApi->deleteCustomReward
- Added UsersApi->updateUser
- Added EntitlementsApi->getDropsEntitlements
MAINTENANCE
- Removed duplicate functions in
ChannelPointsApi
- Renamed
callApi
togetApi
#92 - Added
patchApi
ability in library - Added
postApi
ability in library - Added
putApi
ability in library - Added
deleteApi
ability in library
VERSION NOTE
Support for PHP 7.2 and 7.3 are no longer maintained and are not tested in our workflows. While there are no known issues at this time, we cannot guarantee this library will work on a version less than PHP 7.4 at the time of writing.
v3.3.0 Delete User Follows
Thanks again to @brandinarsenault for his work!
- Add support for https://dev.twitch.tv/docs/api/reference#delete-user-follows
- Code refactor