Sorry, I am not sure I understand. wt_apps is the tag on G2G, right?
Or have you already written an app? If you can share the code bit you already have it is easier to help.
Chase's answer is mostly all you need (you might have to import json as well probably). I use post with a payload, but it all depends on how you want to approach it.