Skip to main content

Posts

Showing posts from April, 2014

VTC/USD, VTC/EUR and VTC/GBP Python Script

You may  want download the file here: https://drive.google.com/file/d/0B06EJahqJCOCVzY1eTVMYTZDS00/edit?usp=sharing  import urllib2 import json import time import pandas as pd from pandas import Series , DataFrame from urllib2 import URLError import ystockquote # Accessing VTC/BTC price from Cryptsy def vtcbtc (): try : raw = urllib2 . urlopen ( "http://pubapi.cryptsy.com/api.php?method=singleorderdata&marketid=151" ) . read () dictionary = json . loads ( raw ) #BID bidraw = dictionary [ 'return' ][ 'VTC' ][ 'buyorders' ] newformatb = pd . DataFrame ( bidraw ) newnameb = newformatb . rename ( columns = { 'price' : 'BID' }) global finalbid1 finalbid1 = newnameb [ 0 : 1 ] except URLError , error : print error #BTC/USD price from BTC-e def btcusd (): btcePrices = urllib2 . urlopen ( "h

How To Find A Website's IP via command line

The command we will be using is nslookup . For example: nslookup www.cryptsy.com This will return Non-authoritative answer: www.cryptsy.com    canonical name = qrq4x.x.incapdns.net. Name:    qrq4x.x.incapdns.net Address: 192.230.66.5