Skip to content

Instantly share code, notes, and snippets.

@alfw
alfw / got.js
Created September 7, 2020 16:56
const got = require("got");
(async () => {
const { body } = await got(
"https://api.twitch.tv/kraken/channels/413856795",
{
headers: {
accept: "application/vnd.twitchtv.v5+json",
"client-id": "gp762nuuoqcoxypju8c569th9wz7q5",
},
@alfw
alfw / file1.txt
Created October 9, 2017 13:16
a gist for a user with token api call
String file contents

Keybase proof

I hereby claim:

  • I am alfw on github.
  • I am alfw (https://keybase.io/alfw) on keybase.
  • I have a public key ASBDI0oaNl771NKbPbcgKWWK2r-csc-URmluT131W4tTFwo

To claim this, I am signing this object: