Skip to content

Releases: nicklaw5/twitch-api-php

v5.0.0 EventSub, Complete Endpoint Coverage & More

28 May 18:44
9ebb174
Compare
Choose a tag to compare

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 to ChannelsApi)
  • Remove StreamsApi->getStreamTags #104 (duplicate, moved to TagsApi)
  • 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

  • Stopped extending Guzzle Client #121
  • Added Request Generator class to tidy up code and resolve testing errors #117

Add Get Polls and Predictions

04 May 17:34
51e01c1
Compare
Choose a tag to compare

NEW FEATURES

  • Add PollsApi
  • Add PollsApi -> getPolls
  • Add PredictionsApi
  • Add PredictionsApi -> getPredictions

Added getFollowedStreams Endpoint

27 Apr 15:18
6cf9714
Compare
Choose a tag to compare

NEW FUNCTIONS

  • Added StreamsApi->getFollowedStreams

March 2021 Endpoints

23 Mar 16:52
730b695
Compare
Choose a tag to compare

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

16 Mar 13:34
8ab26c5
Compare
Choose a tag to compare

NEW FUNCTIONS

  • Added TeamsApi
  • Added TeamsApi->getChannelTeams
  • Added TeamsApi->getTeams
  • Added SubscriptionsApi->checkUserSubscription

Thank you @ThibaultVlacich! 👍

v4.0.0 Code Cleanup & New Functions

25 Feb 17:37
0755a8e
Compare
Choose a tag to compare

BREAKING CHANGES

  • Removed communityIds parameter in getStreams #89
  • Renamed getEntitlmentGrantsUploadURL to createEntitlmentGrantsUploadURL #93

NEW FUNCTIONS

  • Added ChannelPointsApi->deleteCustomReward
  • Added UsersApi->updateUser
  • Added EntitlementsApi->getDropsEntitlements

MAINTENANCE

  • Removed duplicate functions in ChannelPointsApi
  • Renamed callApi to getApi #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

11 Dec 16:57
c3d8ef3
Compare
Choose a tag to compare

Thanks again to @brandinarsenault for his work!

v3.2.0 Channel Points API and Get Streams Improvements

07 Dec 16:06
9c29be0
Compare
Choose a tag to compare

Thanks, as always, to @brandinarsenault for his efforts!

This release includes:

  • Channel Points API #88
  • Get Streams Improvements #87

v3.1.1

08 Oct 18:25
2948d8f
Compare
Choose a tag to compare
  • Allow support for Guzzle 7.x to assist with other dependencies (eg. Laravel v8) (#84)

v3.1.0

21 Sep 03:07
de953bf
Compare
Choose a tag to compare
  • Added bearer token support for unsubscribe methods (#80)