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
custom_api [2019/06/24 18:47] ianchandler1990custom_api [2023/01/18 22:39] (current) – missing ] dante557
Line 1: Line 1:
 ===== Community Custom API's===== ===== Community Custom API's=====
  
-**<color red>ImportantCommunity Made API are all community built and are **NOT** Officially Supported by Deepbot.</color>**\\ +**Please NoteAll APIs mentioned here are community driven and are NOT offically supported the Deepbot team. If you require support with regards to this the first port of call should be the creator/maintainer of the API.**
-**<color red>Important: If commands that require an API are spammed more then 40 times per minute the api may blacklist you for 24 hours!</color>**\\+
  
-<color red>**Newest Updates** 1st Jan 2018</color>\\ +APIs (Application Program Interface) are a great way to add some additional functionality to DeepbotFor example, you could use an API to retrieve the latest Tweet that you have sent from Twitter or the latest Youtube video from your favourite creatorThese are usable in Deepbot through @customapi@ or, for certain APIs that return JSON formatted pages, the VIP exclusive variable @customjsonapi@.
-<color red>**Best Version** 0.11.0.0</color>+
  
-  * **[[custom_api#Ian Chandler APIs|Ian Chandler API's]]**+Have an API that we have not mentioned here that you would like to see mentioned? Let us know on our [[http://discord.deepbot.tv|Discord server]] and we will look to adding a link to the API in question as soon as possible.
  
 +You can read more about features that are exclusive to the Deepbot VIP subscription here: [[vip_features|VIP Features]]
 +You can read more about @customapi@ and other variables usable in commands here: [[custom_commands|Custom Command Variables]]
  
-=== Custom API Examples === 
  
  
-This is list of all available Custom api's made by the Community.+Missing API you would like to see? Give me a message on [[http://discord.deepbot.tv|Discord]] and ill have a look into adding one!
  
 ---- ----
  
-=== Ian Chandler APIs === +API Name/Usage ^ URL Endpoint ^ URL Parameters  ^ Example Deepbot Usage ^ Description ^ 
- +| Convert Time | https://api.chandler-gaming.com/converttime?seconds=SECONDS | <code>@customapi@[https://api.chandler-gaming.com/converttime/?seconds=100]</code> | Converts to seconds that you pass to a readable sentence regarding the time\\ \\ I.e 55010000000 seconds would become **1768 years, 6 months, 29 days, 19 hours, 33 minutes and 20 seconds** | 
----- +Define a word | https://api.chandler-gaming.com/define/ ?term=Word To Search | <code>@customapi@[https://api.chandler-gaming.com/define/?term=@target@]</code> | Find the (potential) definition of a word of your choosing |  
- +| Choose At Random | https://api.chandler-gaming.com/select?choices=list separated by commas | <code>@customapi@[https://api.chandler-gaming.com/select/?choices=one,two,three,four,five]</code> | Choose at random from a list of provided options. Put a comma between each item you want it to select fromFor items with spaces, put **%20** instead of a space. | 
-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! +Latest YouTube Video https://decapi.me/youtube/latest_video ?id=YOUTUBEID | <code>@customapi@[https://decapi.me/youtube/latest_video?id=UCKMLV8QT_f1nnAdlI3JgRIA]</code> | Grab the latest video of the provided ID so that the link can be posted in chat. \\ \\ To find your YouTube's channel ID, go to the following link - https://www.youtube.com/account_advanced | 
- +
-All Commands where you see **//TWITCHNAME//** please change that with your twitch username!\\ +
- +
-  * Emotes: http://api.chandler-gaming.com/emotes/?user=TWITCHNAME&ffz=true&bttv=true&twitch=true&gamewisp=true&deepbot=true +
-  * **Note** set them to false or remove them if you dont want them also remove deepbot=true if u don't want it to post as streamer +
- +
-  * Update Game & Title: https://api.chandler-gaming.com/updateboth/?msg=@replace@[@target@|#|/=/+
-  * **Note** Use the / between the game and title ie: Minecraft / This will be the title +
- +
-  * 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 +
-  * **Known Online parameters**: /url/, /display_name/, /created_at/, /game/, /viewers/, /status/, /views/, /followers/ +
-  * **Known Offline parameters**: /url/, /display_name/, /game/, /status/, /followers/, /created_at/ +
-  * **Note**: Stream //Must// be live for these to work! unless you include &status=offline to the end of the URL +
- +
-  * 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! +
- +
-  * Define a word: http://api.chandler-gaming.com/define/?term=@target@ +
- +
-  * Follow Check: http://api.chandler-gaming.com/following/?streamer=TWITCHNAME&follower=@user+
- +
-  * Follow Train: http://api.chandler-gaming.com/followtrain/?streamer=TWITCHNAME **Note**: this will display the last 5 followers! +
- +
-  * Choose at random: http://api.chandler-gaming.com/select/?choices=one,two,three,four,five **Note**: you can change the options and add as many as you like as long as you use the , to split them up! +
- +
-  * Latest Tweet: http://api.chandler-gaming.com/twitter/?user=TWITTER **Note** Change **//TWITTER//** to your own twitter username! +
- +
-  * Latest Youtube Videohttps://decapi.me/youtube/latest_video?id=YOUTUBEID **Note** Change **//YOUTUBEID//** to your own Youtube ID egUCuKJ0LqxI8t2a9ATl1rWBGA!+