If you don’t want to install an extra library, you can use pythons urllib2
library that is just as easy for something like connecting to a url.
import urllib2
print urllib2.urlopen("https://www.bitstamp.net/api/transactions/").read()
For parsing that, use pythons json library.
solved how to implement request GET in Python [closed]