Does anyone here know python? I'm trying to use the Bittrex API to get the last price for a currency pair. I want it to do this in a loop of about 10 seconds
def get_currency_pair(self, coin_one, coin_two)
return 'OP is a faggot'
>>3039069
They literally have a how-to on their site. If you don't know how to write a JSON get request, then I would recommend to learn coding first.
>>3039096
it looks like i dont need to write a JSON get request, just use the functions defined in the python wrapper.
print ('Hello World!')
>>3039152
yes i know im retarded.
>>3039069
protip: use google spreadsheets
>open google spreadsheet
>=IMPORTDATA("https://bittrex.com/api/v1.1/public/getmarketsummary?market=btc-gup")
>set the sheet to reload every minute
>???
>PROFIT
>>3039187
No, that's just all i know in python ^^
>>3039141
>atom
my nig
>>3039253
Look for the bittrex library, somebody wrote one already and it needs a little tweaking for python 3 but it works.
pip install requests
https://gist.github.com/anonymous/46881d431bd044e7fb6374624c695a14
If you use Python 2.7, you're a fag.
>>3039316
i use 2.7 just cuz i thought itd be necessary for bittrex. already installed requests
>>3039085
fpbp
>>3039260
My emacs can do much more than your comfy atom newfag ;^)
>Using python
Why?
>>3039069
open boob
There is a wrapper on github you can use or just query the api yourself using requests and json
>>3039069
show vagine pls, babby, nice milky drank and very booba am not imagine lover am rela life lvoer