Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revisionBoth sides next revision
custom_api [2020/03/06 15:33] – [Emotes] Replaced username with TWITCHNAME in Example Usage in Deepbot dante557custom_api [2020/07/07 21:56] ianchandler1990
Line 15: Line 15:
  
 Missing a API you would like to see? Give me a message on [[http://discord.deepbot.tv|Discord]] and ill have a look into adding one! Missing a API you would like to see? Give me a message on [[http://discord.deepbot.tv|Discord]] and ill have a look into adding one!
- 
-All Commands where you see **//TWITCHNAME//** please change that with your twitch username!\\ 
  
 ---- ----
- 
-=====Emotes===== 
- 
----- 
- 
-**Creator/Maintainer:**\\ 
-Ianchandler1990 [[http://www.twitch.tv/ianchandler1990|Twitch Channel Link]] 
- 
-**API URL:**\\ 
-http://api.chandler-gaming.com/emotes/ 
- 
-**Example URL:**\\ 
-http://api.chandler-gaming.com/emotes/?user=ianchandler1990&ffz=true&bttv=true&twitch=true&gamewisp=true&deepbot=true 
- 
-**Example Usage In Deepbot:**\\ 
-@customapi@[http://api.chandler-gaming.com/emotes/?user=TWITCHNAME&ffz=true&bttv=true&twitch=true&gamewisp=true&deepbot=true] 
- 
-**URL Parameters** 
-^ Field     ^ Type ^Values        ^Description^ 
-| User      | String    | Username      | The username of the stream you want to display the emotes of [Required] | 
-| ffz       | Boolean   | true, false   | Display FFZ Emotes saved for the mentioned stream or not | 
-| bttv      | Boolean   | true, false   | Display BBTV emotes saved for the mentioned stream or not | 
-| twitch    | Boolean   | true, false   | Display Twitch subscriber emotes saved for the mentioned stream or not | 
-| gamewisp  | Boolean   | true, false   | Display Gamewisp subscriber emotes saved for the mentioned stream or not | 
-| deepbot   | Boolean   | true, false   | If true this will return @sendstreamermsg@ to send the return message as the streamer account | 
- 
- 
----- 
- 
-=====Update Game & Title===== 
- 
----- 
- 
-**Creator/Maintainer:**\\ 
-Ianchandler1990 [[http://www.twitch.tv/ianchandler1990|Twitch Channel Link]] 
- 
-**API URL:**\\ 
-https://api.chandler-gaming.com/updateboth/ 
- 
-**Example Usage:**\\ 
-https://api.chandler-gaming.com/updateboth/?msg=gamename/=/streamtitle 
- 
-**Example Usage In Deepbot:**\\ 
-@customapi@[https://api.chandler-gaming.com/updateboth/?msg=@replace@[@target@|#|/=/]] 
- 
-**URL Parameters** 
-^ Field     ^ Type ^Values                 ^Description^ 
-| msg       | String    | Example1#Example2     | Formatted like game/=/stream title | 
- 
-=====Streamer Information===== 
- 
-**Creator/Maintainer:**\\ 
-Ianchandler1990 [[http://www.twitch.tv/ianchandler1990|Twitch Channel Link]] 
- 
-**API URL:**\\ 
-http://api.chandler-gaming.com/info/ 
- 
-**Example Usage:**\\ 
-Streamer Infomation: http://api.chandler-gaming.com/info/?streamer=TWITCHNAME&format=/display_name/+has+been+live+for+/created_at/+while+playing+/game/+with+/viewers/+viewers 
- 
-**Example Usage In Deepbot:**\\ 
-@customapi@[http://api.chandler-gaming.com/info/?streamer=TWITCHNAME&format=/display_name/+has+been+live+for+/created_at/+while+playing+/game/+with+/viewers/+viewers] 
- 
-**URL Parameters** 
-^ Field       ^ Type   ^Values               ^Description^ 
-| streamer    | String    | Ianchander1990      | The username of the streamer that you want to display info for | 
-| status      | String    | Online, Offline     | Include status=offline if you want this to output even if the stream is offline.\\ If this is not included to specifically state offline this API will return that the stream is offline. | 
-| format      | String    | /display_name/+has+been+live+for+/created_at/+while+playing+/game/+with+/viewers/+viewers | The message that is outputted to the stream. Make sure to put a + between each space.\\ The following are known parameters that can be used with this API\\ **Known Online parameters**: /url/, /display_name/, /created_at/, /game/, /viewers/, /status/, /views/, /followers/\\ **Known Offline parameters**: /url/, /display_name/, /game/, /status/, /followers/, /created_at/ | 
  
   * Convert Time: http://api.chandler-gaming.com/converttime/?seconds=SECONDS Replace **//SECONDS//** with the number of seconds you would like to convert into hours and minutes!   * Convert Time: http://api.chandler-gaming.com/converttime/?seconds=SECONDS Replace **//SECONDS//** with the number of seconds you would like to convert into hours and minutes!
Line 92: Line 22:
   * Define a word: http://api.chandler-gaming.com/define/?term=@target@   * Define a word: http://api.chandler-gaming.com/define/?term=@target@
  
-  * Follow Check: http://api.chandler-gaming.com/following/?streamer=TWITCHNAME&follower=@user@+  * Follow Check: http://api.chandler-gaming.com/howlong?user=@user@&streamer=TWITCHNAME
  
   * Follow Train: http://api.chandler-gaming.com/followtrain/?streamer=TWITCHNAME **Note**: this will display the last 5 followers!   * Follow Train: http://api.chandler-gaming.com/followtrain/?streamer=TWITCHNAME **Note**: this will display the last 5 followers!