This is the first public release of Turtle Xtra API this API allows you to do lots of things in a shorter space.

The list of functions:
Spoilerturtlex.right() - Makes the turtle move right one block
turtlex.left() - Makes the turtle move left one block
turtlex,detectLeft - Detects if there is a block to the left of the turtle and returns true or false
turtlex.detectRight - Detects if there is a block to the right of the turtle and returns true or false
turtlex.up(n) - Goes up whatever the number in the bracket is
turtlex.down(n) - Goes down whatever the number in the bracket is
turtlex.forward(n) - Goes forward whatever the number in the bracket is
turtlex.back(n) - Goes back whatever the number in the bracket is
turtlex.refuel(fuelLevel, times, slot) - refuels using the information in the brackets that you define:
fuelLevel = the fuel amount that if it is below it will refuel at
times = the amount of times it will refuel
slot - the slot where the fuel to refuel from will be
That's it for now but i am still making more and open to suggestions.

to Install make sure that in the config the setting:

enableAPI_http = true

and then type into the terminal:

pastebin get BAEKCePx

and if you find any bugs make sure to include the code that you are using.

Enjoy! :D/>