From 098770abd9b4f1b5c1cdef14096d127806c0c921 Mon Sep 17 00:00:00 2001 From: Cole Date: Tue, 15 May 2018 16:58:12 -0600 Subject: [PATCH] Update readme. --- README.md | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 3b3c1d5..e38e7de 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,6 @@ ### Overview A simple tool to generate access tokens for Twitch with custom scopes. Good tool for testing various Twitch third party tools (like [swiftyspiffy/TwitchLib](https://github.com/swiftyspiffy/twitchlib)). - Full Site: [twitchtokengenerator.com](https://twitchtokengenerator.com) -- Mobile Site: [twitchtokengenerator.com/mobile](https://twitchtokengenerator.com/mobile) ### API An API exists on TwitchTokenGenerator allowing the creation of tokens and implementation in applications. The API is currently implemented in TwitchLib. A flow of how the API works is listed below: @@ -15,9 +14,9 @@ An API exists on TwitchTokenGenerator allowing the creation of tokens and implem - Create Endpoint: `https://twitchtokengenerator.com/api/create` - Required Rarameters: - - - base64 encoded application title + - base64 encoded application title - - - scope list with + delimiter + - scope list with + delimiter - Example create: `https://twitchtokengenerator.com/api/create/QXV0aEZsb3dFeGFtcGxlIFRlc3QgQXBwbGljYXRpb24=/chat_login+user_read` 2. Response will be a json object including success bool, an id, and a message string containing the auth url. Present the URL to the program user. @@ -25,7 +24,7 @@ An API exists on TwitchTokenGenerator allowing the creation of tokens and implem - Status endpoint: `https://twitchtokengenerator.com/api/status` - Required Parameters: - - - Id of auth flow + - Id of auth flow - Example status: `https://twitchtokengenerator.com/api/status/rtotgzqct6ro6nwlwr04` - Please record your access token as well as the refresh token for usage. @@ -33,7 +32,6 @@ An API exists on TwitchTokenGenerator allowing the creation of tokens and implem - Example refresh: `https://twitchtokengenerator.com/api/refresh/{refresh_token}` ### Credits - Xxplosions' twitchtv-oauth: [Xxplosions/twitchtv-oauth](https://github.com/Xxplosions/twitchtv-oauth) - - MobileDetect: [http://mobiledetect.net/](http://mobiledetect.net/) ### License MIT License. © 2017 Cole