diff --git a/docker-compose.yaml b/docker-compose.yaml index 3c9fc21..8de3639 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -18,6 +18,6 @@ services: - /app/node_modules command: > - sh -c "npm install --omit=dev && node main.js" + sh -c "npm install --omit=dev && node src/index.js" restart: unless-stopped \ No newline at end of file diff --git a/temp.txt b/temp.txt index 9c4d5e7..99027be 100644 --- a/temp.txt +++ b/temp.txt @@ -9,4 +9,22 @@ curl -X POST "https://id.twitch.tv/oauth2/token" \ "access_token":"7k8q1pvj3bqclkh1qxm9bdcmmb3w05", "expires_in":4915881, "token_type":"bearer" -} \ No newline at end of file +} + + +curl -H "Client-ID: 1d55t6jkkl2l0triq2irmog3lo3ver" \ +-H "Authorization: Bearer 7k8q1pvj3bqclkh1qxm9bdcmmb3w05" \ +"https://api.twitch.tv/helix/users?login=reaperofveriod" + + + +{"data":[{ + "id":"86025329", + "login":"reaperofveriod", + "display_name":"ReaperOfVeriod", + "type":"","broadcaster_type":"affiliate", + "description":"im weird.", + "profile_image_url":"https://static-cdn.jtvnw.net/jtv_user_pictures/da367928-136c-4980-aa16-caedad73ae83-profile_image-300x300.png", + "offline_image_url":"https://static-cdn.jtvnw.net/jtv_user_pictures/a3fcd009-65dd-4508-8e71-0547c6faa24f-channel_offline_image-1920x1080.png", + "view_count":0, + "created_at":"2015-03-24T00:36:42Z"}]}% \ No newline at end of file