Author Topic: Deepbot-Api json object to text file  (Read 1576 times)

0 Members and 1 Guest are viewing this topic.

ShanePolly

  • Youngling
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
  • Twitch Name: Polly_Parrott
Deepbot-Api json object to text file
« on: December 20, 2015, 04:48:07 AM »
Since the Deepbot-Api sends responses as json objects, does anyone know a way to save the response from the bot as a text file?

emrerocky

  • Advisor
  • Councilor
  • **
  • Posts: 1240
  • Karma: +163/-8
    • View Profile
    • emrerocky's Website
  • Twitch Name: emrerocky
Re: Deepbot-Api json object to text file
« Reply #1 on: December 20, 2015, 04:50:04 AM »
May I ask how you have access to DeepBot?

ShanePolly

  • Youngling
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
  • Twitch Name: Polly_Parrott
Re: Deepbot-Api json object to text file
« Reply #2 on: December 20, 2015, 09:56:22 AM »
I do not have it on my machine, I was given the API secret so I could design a website for a Deepbot User

emrerocky

  • Advisor
  • Councilor
  • **
  • Posts: 1240
  • Karma: +163/-8
    • View Profile
    • emrerocky's Website
  • Twitch Name: emrerocky
Re: Deepbot-Api json object to text file
« Reply #3 on: December 20, 2015, 10:13:40 AM »
Ok.  Well if you are making a website you can't save text files to the users computer (for obvious reasons).  If you are making a program, I would recommend you look into what ever you are using's documentation.

emrerocky

  • Advisor
  • Councilor
  • **
  • Posts: 1240
  • Karma: +163/-8
    • View Profile
    • emrerocky's Website
  • Twitch Name: emrerocky
Re: Deepbot-Api json object to text file
« Reply #4 on: December 20, 2015, 10:39:11 AM »
Oh, if you are talking about downloading the text file, you can do that.  I thought you meant save and access data.  I don't know how you can do it, but there's probably a way to do it with PHP.  I would recommend researching it.