Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

Python 

Could someone help me build a simple discord bot that will fetch data from API?

[I'm editing the whole post so I can be much clearer this time]

Is there someone willing to help me build a really simple discord bot for my server? I just want it to read the available balance of given cryptocurrency on given exchange and return it on the chat. It will fetch this simple data from the API (every cryptocurrency exchange has its own API).

The problem is I'm mostly a noob on coding and building discord bots gets pretty confusing even for something so simple. Is there anyone willing to guide/help me with this?

Thanks
By reading the documentation provided by the respective API.
Yeah. Is there an easy way to fetch this data? Let's just say I'm an almost complete noob.
you would use the Requests module and most likely the json module if the API is returning json. post back here if you need help ill look at the thread every once in a while.
i like python lua js
(Jul 19, 2017 08:31 AM)miserego Wrote:  Yeah. Is there an easy way to fetch this data? Let's just say I'm an almost complete noob.

Provide the exchanges you are thinking about and possibly link their API documentations, we can then give you concrete examples.
We can't read your mind as to what APIs you are planning to use.
Create a HTTP request and parse the data
what is it that you want exactly? do you want the data to be stored in a file on your desktop ?? how often ? every day ? once a week ?


(Jul 19, 2017 08:27 AM)miserego Wrote:  I'm not sure if I should be posting this here but, to my limited knowledge, python is a good language to use apis on.

I want to be able to fetch some data through api from cryptocurrency exchanges. I'm not sure if this is easier to get done on a simple application or through a site or even through a terminal.
Specifically I'd like to just be able to check holdings (of cryptocurrencies). I don't care about withdrawals and trading through this.

What should I do/use?

Sorry for not being more clear.

I can assist you in writing a Python application for this
Knowledge is Power - Be Powerful!!!!!


LIFE IS A CHALLENGE SO ACCEPT IT!
I completely edited the post with much clearer explanation to my problem
(Jul 19, 2017 12:40 PM)miserego Wrote:  I completely edited the post with much clearer explanation to my problem

okay kool




there take a look at that, it should help you.
Knowledge is Power - Be Powerful!!!!!


LIFE IS A CHALLENGE SO ACCEPT IT!
(Jul 20, 2017 11:20 PM)qow. Wrote:  You can join the (unofficial) discord API server that discord actually has linked on its website and stuff. People respond super fast and they will teach you better than anyone else because they are the people who helped make the python api. https://#/discord-api

Also if you still need help kik me @average.ly or pm me on discord @qow#1327
I might be able to help you with the API for the cryptocurrency if you need that.
i like python lua js


Possibly Related Threads...
Thread / Author Replies Views Last Post
[C#] by Memento_MoriJan 18, 2022 07:09 PM 2 261 Jan 18, 2022 07:09 PM
Last Post: DDDealer
[Python] by KermoMay 2, 2020 06:07 AM 2 124 May 2, 2020 06:07 AM
Last Post: Kermo
[.NET] by System[X]Feb 21, 2019 02:45 PM 2 358 Feb 21, 2019 02:45 PM
Last Post: System[X]