Skip to content
master
Switch branches/tags
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

BTC-e Trade API

!!!!!!! STOP PRESS !!!!!!!!! - This site has been closed down by the US Government!

BTC-e.com is a Bitcoin Trading site that provides an API to make trades, get transaction history, etc. I've written a Google Apps Script that uses this BTC-e Trade API.

As well as seeing the script itself by clicking on the link, I've created a simple web app that can do a 'getInfo' and a 'TransHistory' query. They don't do much at the moment as you need to register on the site and get an API key and a secret key.

To get it working for yourself:

  • Take your own copy of the script (File>Make a copy)
  • Register at BTC-e.com for your own account (if you don't already have one)
  • In your BTC-e.com account click on Profile in the top right-hand corner and then go to API Keys
  • Allocate a name for this set of keys, tick info and trade appropriately and finally Create
  • Back in the script copy these two keys into keys.gs
btceTrade_Query() contains the main functionality that you are after, and that you can use to create a nicer UI. webApps.gs contains a basic web app that you’ll need to deploy (Publish>Deploy as web app …) and authorise for yourself to see, and a couple of test functions testGetInfo() and testTransHistory() that you can run from within the script editor and check the log (View>Logs) for the response from BTC-e.com. All of the other files contains utilities that are needed to get Javascript working on the server-side (one day I'll have a look at getting it as small as the other Trade API examples)

About

BTC-e.com is a Bitcoin Trading site that provides an API to make trades, get transaction history, etc. This Google Apps Script uses this API.

Resources

Releases

No releases published

Packages

No packages published