xgerhard

Destinycommand API

Nov 12th, 2018
218
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.71 KB | None | 0 0
  1. https://destinycommand.com/api/command?query=$query&bot=$bot&user=$user&default_console=$default_console&channel=$channel
  2.  
  3. Please encode all variables, especially query, since hashtags in BNET usernames will break links.
  4.  
  5. $query = user message/message after the command; format is "action username platform" for example "kd xgerhard xbox"
  6. $bot = (optional) your bot name
  7. $user = username to reply to (@$user kd ratio is ..)
  8. $channel = channel / room / server name
  9. $default_console = if no platform is provided in the $query, this platform will be chosen if multiple platforms are found for the username
  10.  
  11. There's an optional paramater to use: 'platform=json', which will return a JSON response instead of plain text.
Add Comment
Please, Sign In to add comment