Skip to content

Commit 4b26767

Browse files
committed
GitHub Actions build 1339, branch versions/7.4
1 parent e4b924c commit 4b26767

537 files changed

Lines changed: 13904 additions & 1526 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,5 @@
1111
"main"
1212
],
1313
"rootUrl": "",
14-
"defaultVersion": "7.3"
14+
"defaultVersion": "7.4"
1515
}

pe.js

Lines changed: 796 additions & 106 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

reference/api-call/classes/HttpStatusCodeError.html

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

reference/api-call/functions/callTwitchApi.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -872,7 +872,7 @@
872872
}</style>
873873
</head>
874874
<body>
875-
<div id="app-root"><div class="jss1"><a class="jss2 jss4" href="/">Twurple</a><a class="jss2" href="/docs/auth/">Authentication</a><a class="jss2" href="/docs/getting-data/">Getting data</a><a class="jss2" href="/docs/examples/">Examples</a><a class="jss2" href="/docs/faq/">FAQ</a><a class="jss2" href="/docs/migration/">Migration</a><div class="jss5"><div class="jss2 jss3">Reference</div><div class="jss6"><a class="jss2 jss7" href="/reference/api/">api</a><a aria-current="page" class="jss2 jss7 jss8" href="/reference/api-call/">api-call</a><a class="jss2 jss7" href="/reference/auth/">auth</a><a class="jss2 jss7" href="/reference/auth-tmi/">auth-tmi</a><a class="jss2 jss7" href="/reference/chat/">chat</a><a class="jss2 jss7" href="/reference/common/">common</a><a class="jss2 jss7" href="/reference/easy-bot/">easy-bot</a><a class="jss2 jss7" href="/reference/ebs-helper/">ebs-helper</a><a class="jss2 jss7" href="/reference/eventsub-base/">eventsub-base</a><a class="jss2 jss7" href="/reference/eventsub-http/">eventsub-http</a><a class="jss2 jss7" href="/reference/eventsub-ws/">eventsub-ws</a><a class="jss2 jss7" href="/reference/pubsub/">pubsub</a></div></div><div class="jss9"></div><a href="https://github.com/twurple/twurple" class="jss2"><svg aria-hidden="true" focusable="false" data-prefix="fab" data-icon="github" class="svg-inline--fa fa-github " role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 496 512"><path fill="currentColor" d="M165.9 397.4c0 2-2.3 3.6-5.2 3.6-3.3.3-5.6-1.3-5.6-3.6 0-2 2.3-3.6 5.2-3.6 3-.3 5.6 1.3 5.6 3.6zm-31.1-4.5c-.7 2 1.3 4.3 4.3 4.9 2.6 1 5.6 0 6.2-2s-1.3-4.3-4.3-5.2c-2.6-.7-5.5.3-6.2 2.3zm44.2-1.7c-2.9.7-4.9 2.6-4.6 4.9.3 2 2.9 3.3 5.9 2.6 2.9-.7 4.9-2.6 4.6-4.6-.3-1.9-3-3.2-5.9-2.9zM244.8 8C106.1 8 0 113.3 0 252c0 110.9 69.8 205.8 169.5 239.2 12.8 2.3 17.3-5.6 17.3-12.1 0-6.2-.3-40.4-.3-61.4 0 0-70 15-84.7-29.8 0 0-11.4-29.1-27.8-36.6 0 0-22.9-15.7 1.6-15.4 0 0 24.9 2 38.6 25.8 21.9 38.6 58.6 27.5 72.9 20.9 2.3-16 8.8-27.1 16-33.7-55.9-6.2-112.3-14.3-112.3-110.5 0-27.5 7.6-41.3 23.6-58.9-2.6-6.5-11.1-33.3 2.6-67.9 20.9-6.5 69 27 69 27 20-5.6 41.5-8.5 62.8-8.5s42.8 2.9 62.8 8.5c0 0 48.1-33.6 69-27 13.7 34.7 5.2 61.4 2.6 67.9 16 17.7 25.8 31.5 25.8 58.9 0 96.5-58.9 104.2-114.8 110.5 9.2 7.9 17 22.9 17 46.4 0 33.7-.3 75.4-.3 83.6 0 6.5 4.6 14.4 17.3 12.1C428.2 457.8 496 362.9 496 252 496 113.3 383.5 8 244.8 8zM97.2 352.9c-1.3 1-1 3.3.7 5.2 1.6 1.6 3.9 2.3 5.2 1 1.3-1 1-3.3-.7-5.2-1.6-1.6-3.9-2.3-5.2-1zm-10.8-8.1c-.7 1.3.3 2.9 2.3 3.9 1.6 1 3.6.7 4.3-.7.7-1.3-.3-2.9-2.3-3.9-2-.6-3.6-.3-4.3.7zm32.4 35.6c-1.6 1.3-1 4.3 1.3 6.2 2.3 2.3 5.2 2.6 6.5 1 1.3-1.3.7-4.3-1.3-6.2-2.2-2.3-5.2-2.6-6.5-1zm-11.4-14.7c-1.6 1-1.6 3.6 0 5.9 1.6 2.3 4.3 3.3 5.6 2.3 1.6-1.3 1.6-3.9 0-6.2-1.4-2.3-4-3.3-5.6-2z"></path></svg></a><div data-dynamic-component="VersionMenu"></div></div><div class="jss10"><div class="jss13 jss11"><div class="jss14"><h2 class="jss15">Classes</h2><div class="jss16"><a title="HttpStatusCodeError" class="jss17" href="/reference/api-call/classes/HttpStatusCodeError.html">HttpStatusCodeError</a></div></div><div class="jss14"><h2 class="jss15">Functions</h2><div class="jss16"><a title="callTwitchApi" aria-current="page" class="jss17 jss18" href="/reference/api-call/functions/callTwitchApi.html">callTwitchApi</a><a title="callTwitchApiRaw" class="jss17" href="/reference/api-call/functions/callTwitchApiRaw.html">callTwitchApiRaw</a><a title="createBroadcasterQuery" class="jss17" href="/reference/api-call/functions/createBroadcasterQuery.html">createBroadcasterQuery</a></div></div><div class="jss14"><h2 class="jss15">Interfaces</h2><div class="jss16"><a title="TwitchApiCallFetchOptions" class="jss17" href="/reference/api-call/interfaces/TwitchApiCallFetchOptions.html">TwitchApiCallFetchOptions</a><a title="TwitchApiCallOptions" class="jss17" href="/reference/api-call/interfaces/TwitchApiCallOptions.html">TwitchApiCallOptions</a></div></div><div class="jss14"><h2 class="jss15">Type aliases</h2><div class="jss16"><a title="TwitchApiCallType" class="jss17" href="/reference/api-call/types/TwitchApiCallType.html">TwitchApiCallType</a></div></div></div><div class="jss12"><main><div class="jss19"><h1>callTwitchApi</h1><a class="jss20" href="https://github.com/twurple/twurple/blob/versions/7.3/packages/api-call/src/apiCall.ts#L72" target="_blank" rel="noopener noreferrer" title="Go to the code"><svg aria-hidden="true" focusable="false" data-prefix="fas" data-icon="code" class="svg-inline--fa fa-code fa-lg " role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 512"><path fill="currentColor" d="M392.8 1.2c-17-4.9-34.7 5-39.6 22l-128 448c-4.9 17 5 34.7 22 39.6s34.7-5 39.6-22l128-448c4.9-17-5-34.7-22-39.6zm80.6 120.1c-12.5 12.5-12.5 32.8 0 45.3L562.7 256l-89.4 89.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0l112-112c12.5-12.5 12.5-32.8 0-45.3l-112-112c-12.5-12.5-32.8-12.5-45.3 0zm-306.7 0c-12.5-12.5-32.8-12.5-45.3 0l-112 112c-12.5 12.5-12.5 32.8 0 45.3l112 112c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L77.3 256l89.4-89.4c12.5-12.5 12.5-32.8 0-45.3z"></path></svg></a></div><div class="jss21"><h2>Definition</h2><div class="jss22"><h3 class="jss25">callTwitchApi<!-- -->&lt;<!-- -->T<!-- -->&gt;<!-- -->(<!-- -->options<!-- -->, <!-- -->clientId<!-- -->, <!-- -->accessToken<!-- -->, <!-- -->authorizationType<!-- -->, <!-- -->fetchOptions<!-- -->)</h3><a href="https://developer.mozilla.org/docs/Web/JavaScript/Reference/Operators/await" target="_blank" title="This method actually returns a Promise object, but the use of await is recommended for easier use. Please click on the badge for further information." class="jss26 jss28 jss24" rel="noreferrer">async</a><div class="jss29"><p>Makes a call to the Twitch API using given credentials.</p></div><table class="jss33"><thead><tr><th class="jss34">Parameter</th><th class="jss34">Type</th><th class="jss34">Required</th><th class="jss34">Default</th><th class="jss34">Description</th></tr></thead><tbody><tr><td class="jss35">options</td><td class="jss35"><a class="jss38" href="/reference/api-call/interfaces/TwitchApiCallOptions.html">TwitchApiCallOptions</a></td><td class="jss35"><svg aria-hidden="true" focusable="false" data-prefix="fas" data-icon="check" class="svg-inline--fa fa-check jss36" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path fill="currentColor" d="M438.6 105.4c12.5 12.5 12.5 32.8 0 45.3l-256 256c-12.5 12.5-32.8 12.5-45.3 0l-128-128c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0L160 338.7 393.4 105.4c12.5-12.5 32.8-12.5 45.3 0z"></path></svg></td><td class="jss35"><em>none</em></td><td class="jss35"><div class="jss29"><p>The configuration of the call.</p></div></td></tr><tr><td class="jss35">clientId</td><td class="jss35">string</td><td class="jss35"></td><td class="jss35"><em>none</em></td><td class="jss35"><div class="jss29"><p>The client ID of your application.</p></div></td></tr><tr><td class="jss35">accessToken</td><td class="jss35">string</td><td class="jss35"></td><td class="jss35"><em>none</em></td><td class="jss35"><div class="jss29"><p>The access token to call the API with.</p>
875+
<div id="app-root"><div class="jss1"><a class="jss2 jss4" href="/">Twurple</a><a class="jss2" href="/docs/auth/">Authentication</a><a class="jss2" href="/docs/getting-data/">Getting data</a><a class="jss2" href="/docs/examples/">Examples</a><a class="jss2" href="/docs/faq/">FAQ</a><a class="jss2" href="/docs/migration/">Migration</a><div class="jss5"><div class="jss2 jss3">Reference</div><div class="jss6"><a class="jss2 jss7" href="/reference/api/">api</a><a aria-current="page" class="jss2 jss7 jss8" href="/reference/api-call/">api-call</a><a class="jss2 jss7" href="/reference/auth/">auth</a><a class="jss2 jss7" href="/reference/auth-tmi/">auth-tmi</a><a class="jss2 jss7" href="/reference/chat/">chat</a><a class="jss2 jss7" href="/reference/common/">common</a><a class="jss2 jss7" href="/reference/easy-bot/">easy-bot</a><a class="jss2 jss7" href="/reference/ebs-helper/">ebs-helper</a><a class="jss2 jss7" href="/reference/eventsub-base/">eventsub-base</a><a class="jss2 jss7" href="/reference/eventsub-http/">eventsub-http</a><a class="jss2 jss7" href="/reference/eventsub-ws/">eventsub-ws</a><a class="jss2 jss7" href="/reference/pubsub/">pubsub</a></div></div><div class="jss9"></div><a href="https://github.com/twurple/twurple" class="jss2"><svg aria-hidden="true" focusable="false" data-prefix="fab" data-icon="github" class="svg-inline--fa fa-github " role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 496 512"><path fill="currentColor" d="M165.9 397.4c0 2-2.3 3.6-5.2 3.6-3.3.3-5.6-1.3-5.6-3.6 0-2 2.3-3.6 5.2-3.6 3-.3 5.6 1.3 5.6 3.6zm-31.1-4.5c-.7 2 1.3 4.3 4.3 4.9 2.6 1 5.6 0 6.2-2s-1.3-4.3-4.3-5.2c-2.6-.7-5.5.3-6.2 2.3zm44.2-1.7c-2.9.7-4.9 2.6-4.6 4.9.3 2 2.9 3.3 5.9 2.6 2.9-.7 4.9-2.6 4.6-4.6-.3-1.9-3-3.2-5.9-2.9zM244.8 8C106.1 8 0 113.3 0 252c0 110.9 69.8 205.8 169.5 239.2 12.8 2.3 17.3-5.6 17.3-12.1 0-6.2-.3-40.4-.3-61.4 0 0-70 15-84.7-29.8 0 0-11.4-29.1-27.8-36.6 0 0-22.9-15.7 1.6-15.4 0 0 24.9 2 38.6 25.8 21.9 38.6 58.6 27.5 72.9 20.9 2.3-16 8.8-27.1 16-33.7-55.9-6.2-112.3-14.3-112.3-110.5 0-27.5 7.6-41.3 23.6-58.9-2.6-6.5-11.1-33.3 2.6-67.9 20.9-6.5 69 27 69 27 20-5.6 41.5-8.5 62.8-8.5s42.8 2.9 62.8 8.5c0 0 48.1-33.6 69-27 13.7 34.7 5.2 61.4 2.6 67.9 16 17.7 25.8 31.5 25.8 58.9 0 96.5-58.9 104.2-114.8 110.5 9.2 7.9 17 22.9 17 46.4 0 33.7-.3 75.4-.3 83.6 0 6.5 4.6 14.4 17.3 12.1C428.2 457.8 496 362.9 496 252 496 113.3 383.5 8 244.8 8zM97.2 352.9c-1.3 1-1 3.3.7 5.2 1.6 1.6 3.9 2.3 5.2 1 1.3-1 1-3.3-.7-5.2-1.6-1.6-3.9-2.3-5.2-1zm-10.8-8.1c-.7 1.3.3 2.9 2.3 3.9 1.6 1 3.6.7 4.3-.7.7-1.3-.3-2.9-2.3-3.9-2-.6-3.6-.3-4.3.7zm32.4 35.6c-1.6 1.3-1 4.3 1.3 6.2 2.3 2.3 5.2 2.6 6.5 1 1.3-1.3.7-4.3-1.3-6.2-2.2-2.3-5.2-2.6-6.5-1zm-11.4-14.7c-1.6 1-1.6 3.6 0 5.9 1.6 2.3 4.3 3.3 5.6 2.3 1.6-1.3 1.6-3.9 0-6.2-1.4-2.3-4-3.3-5.6-2z"></path></svg></a><div data-dynamic-component="VersionMenu"></div></div><div class="jss10"><div class="jss13 jss11"><div class="jss14"><h2 class="jss15">Classes</h2><div class="jss16"><a title="HttpStatusCodeError" class="jss17" href="/reference/api-call/classes/HttpStatusCodeError.html">HttpStatusCodeError</a></div></div><div class="jss14"><h2 class="jss15">Functions</h2><div class="jss16"><a title="callTwitchApi" aria-current="page" class="jss17 jss18" href="/reference/api-call/functions/callTwitchApi.html">callTwitchApi</a><a title="callTwitchApiRaw" class="jss17" href="/reference/api-call/functions/callTwitchApiRaw.html">callTwitchApiRaw</a><a title="createBroadcasterQuery" class="jss17" href="/reference/api-call/functions/createBroadcasterQuery.html">createBroadcasterQuery</a></div></div><div class="jss14"><h2 class="jss15">Interfaces</h2><div class="jss16"><a title="TwitchApiCallFetchOptions" class="jss17" href="/reference/api-call/interfaces/TwitchApiCallFetchOptions.html">TwitchApiCallFetchOptions</a><a title="TwitchApiCallOptions" class="jss17" href="/reference/api-call/interfaces/TwitchApiCallOptions.html">TwitchApiCallOptions</a></div></div><div class="jss14"><h2 class="jss15">Type aliases</h2><div class="jss16"><a title="TwitchApiCallType" class="jss17" href="/reference/api-call/types/TwitchApiCallType.html">TwitchApiCallType</a></div></div></div><div class="jss12"><main><div class="jss19"><h1>callTwitchApi</h1><a class="jss20" href="https://github.com/twurple/twurple/blob/versions/7.4/packages/api-call/src/apiCall.ts#L72" target="_blank" rel="noopener noreferrer" title="Go to the code"><svg aria-hidden="true" focusable="false" data-prefix="fas" data-icon="code" class="svg-inline--fa fa-code fa-lg " role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 512"><path fill="currentColor" d="M392.8 1.2c-17-4.9-34.7 5-39.6 22l-128 448c-4.9 17 5 34.7 22 39.6s34.7-5 39.6-22l128-448c4.9-17-5-34.7-22-39.6zm80.6 120.1c-12.5 12.5-12.5 32.8 0 45.3L562.7 256l-89.4 89.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0l112-112c12.5-12.5 12.5-32.8 0-45.3l-112-112c-12.5-12.5-32.8-12.5-45.3 0zm-306.7 0c-12.5-12.5-32.8-12.5-45.3 0l-112 112c-12.5 12.5-12.5 32.8 0 45.3l112 112c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L77.3 256l89.4-89.4c12.5-12.5 12.5-32.8 0-45.3z"></path></svg></a></div><div class="jss21"><h2>Definition</h2><div class="jss22"><h3 class="jss25">callTwitchApi<!-- -->&lt;<!-- -->T<!-- -->&gt;<!-- -->(<!-- -->options<!-- -->, <!-- -->clientId<!-- -->, <!-- -->accessToken<!-- -->, <!-- -->authorizationType<!-- -->, <!-- -->fetchOptions<!-- -->)</h3><a href="https://developer.mozilla.org/docs/Web/JavaScript/Reference/Operators/await" target="_blank" title="This method actually returns a Promise object, but the use of await is recommended for easier use. Please click on the badge for further information." class="jss26 jss28 jss24" rel="noreferrer">async</a><div class="jss29"><p>Makes a call to the Twitch API using given credentials.</p></div><table class="jss33"><thead><tr><th class="jss34">Parameter</th><th class="jss34">Type</th><th class="jss34">Required</th><th class="jss34">Default</th><th class="jss34">Description</th></tr></thead><tbody><tr><td class="jss35">options</td><td class="jss35"><a class="jss38" href="/reference/api-call/interfaces/TwitchApiCallOptions.html">TwitchApiCallOptions</a></td><td class="jss35"><svg aria-hidden="true" focusable="false" data-prefix="fas" data-icon="check" class="svg-inline--fa fa-check jss36" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path fill="currentColor" d="M438.6 105.4c12.5 12.5 12.5 32.8 0 45.3l-256 256c-12.5 12.5-32.8 12.5-45.3 0l-128-128c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0L160 338.7 393.4 105.4c12.5-12.5 32.8-12.5 45.3 0z"></path></svg></td><td class="jss35"><em>none</em></td><td class="jss35"><div class="jss29"><p>The configuration of the call.</p></div></td></tr><tr><td class="jss35">clientId</td><td class="jss35">string</td><td class="jss35"></td><td class="jss35"><em>none</em></td><td class="jss35"><div class="jss29"><p>The client ID of your application.</p></div></td></tr><tr><td class="jss35">accessToken</td><td class="jss35">string</td><td class="jss35"></td><td class="jss35"><em>none</em></td><td class="jss35"><div class="jss29"><p>The access token to call the API with.</p>
876876
<p>You need to obtain one using one of the <a class="jss30" href="https://dev.twitch.tv/docs/authentication/getting-tokens-oauth/">Twitch OAuth flows</a>.</p></div></td></tr><tr><td class="jss35">authorizationType</td><td class="jss35">string</td><td class="jss35"></td><td class="jss35"><em>none</em></td><td class="jss35"><div class="jss29"><p>The type of Authorization header to send.</p>
877877
<p>Defaults to &quot;Bearer&quot; for Helix and &quot;OAuth&quot; for everything else.</p></div></td></tr><tr><td class="jss35">fetchOptions</td><td class="jss35"><a class="jss38" href="/reference/api-call/interfaces/TwitchApiCallFetchOptions.html">TwitchApiCallFetchOptions</a></td><td class="jss35"></td><td class="jss35">&lt;complex&gt;</td><td class="jss35"><div class="jss29"><p>Additional options to be passed to the <code>fetch</code> function.</p></div></td></tr></tbody></table><div class="jss39">Return type:<!-- --> <span class="jss40">T</span></div></div></div></main></div></div></div>
878878
<script src="/pe.js"></script>

0 commit comments

Comments
 (0)