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 [2020/07/07 21:57] ianchandler1990custom_api [2023/01/18 22:39] (current) – missing ] dante557
Line 2: Line 2:
  
 **Please Note: All 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.** **Please Note: All 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>This page is current under restructuring to allow the page to be easier to read and navigate. Adding tables and headings to allow this page to be more user friendly and descriptive. Please bare with us over the coming weeks while we make this change. Some wording and sentences may also not make sense due to these changes</color>** 
  
 APIs (Application Program Interface) are a great way to add some additional functionality to Deepbot. For 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 creator. These are usable in Deepbot through @customapi@ or, for certain APIs that return JSON formatted pages, the VIP exclusive variable @customjsonapi@. APIs (Application Program Interface) are a great way to add some additional functionality to Deepbot. For 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 creator. These are usable in Deepbot through @customapi@ or, for certain APIs that return JSON formatted pages, the VIP exclusive variable @customjsonapi@.
Line 10: Line 8:
  
 You can read more about features that are exclusive to the Deepbot VIP subscription here: [[vip_features|VIP Features]] 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]+You can read more about @customapi@ and other variables usable in commands here: [[custom_commands|Custom Command Variables]]
  
  
Line 18: Line 16:
 ---- ----
  
-  * 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+^ 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: http://api.chandler-gaming.com/define/?term=@target@ +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 from. For items with spaces, put **%20** instead of a space. | 
-  * Follow Check: http://api.chandler-gaming.com/howlong?user=@user@&streamer=TWITCHNAME +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 | 
- +
-  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!+