Skip to content

Latest commit

 

History

23 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

turtle-utils Build StatusDeploy

How to start

Windows

Make sure PORT is an environment variable.

Using PowerShell:

$env:PORT = "8675"

Endpoints

/

Bare endpoint will load a super simple website that shows the current TRTL price.

/price

This endpoint returns JSON with the current TRTL -> BTC price on TradeOgre converted to USD using Coinbase's BTC -> USD API.

curl http://localhost:8675/price

/convert?trtl={int}

This will convert a given TRTL amount to BTC and USD using TradeOgre/Coinbase.

curl http://localhost:8675/convert?trtl=500

Acknowledgements

Using a favicon generated by Paul Ferrett.

About

Let's do some turtle stuff

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages