title: Connecting to API's through Tor
body: <p>So I'm developing a site that needs to periodically update the value of bitcoin using nginx and php. I want to connect to the API using Tor so the IP of my site isnt shared or leaked. I'm kind of new to using tor and only used the browser before and I havent used SOCKS before. I'm trying to teach myself but most of the tutorials I find on google are using VPS's to act as a VPN. I'm developing the site on my localhost and want to be able to test it from my machine. How would I use PHP and configure my application to connect to APIs such as blockchain.info using a Tor connection?</p>