DracoNode: a node draco api
API to communicate with Draconius GO server.
Writing in TypeScript, compiled into full JavaScript for Node 8.x.
Include main API calls as well s Google login.
This is still a work in progress, not everything is implemented.
Ask for feature or report bugs here: https://github.com/dracoapi/nodedracoapi/issues
How to use
All api calls can be done manuall using the .call(service, method, args)
method.
; ;;
More high level methods also exists, here is a more complete example that get user items:
; ;;await draco.boot;await draco.login;await draco.load;;for of response.items
More example can be found here: https://github.com/dracoapi/nodedracoapi/tree/master/src/examples
FAQ
I'm using an old version of node, can I use it?
Not directly but your can get it from GitHub, and change tsconfig.json
to compile if for an old version of node (use ES2016 or ES2015).