From 619945c89a889a62c0edde947ef7115911e834d3 Mon Sep 17 00:00:00 2001 From: "Darren L. Weber, Ph.D" Date: Tue, 4 Mar 2014 16:41:40 -0800 Subject: [PATCH] Add curl example for getting batch results. --- bash/batch_curl.sh | 60 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 60 insertions(+) create mode 100755 bash/batch_curl.sh diff --git a/bash/batch_curl.sh b/bash/batch_curl.sh new file mode 100755 index 0000000..be05d64 --- /dev/null +++ b/bash/batch_curl.sh @@ -0,0 +1,60 @@ +#!/bin/bash +#=============================================================================== +# +# FILE: batch_curl.sh +# +# USAGE: ./batch_curl.sh +# +# DESCRIPTION: +# +# OPTIONS: --- +# REQUIREMENTS: --- +# BUGS: --- +# NOTES: --- +# AUTHOR: Darren L. Weber, Ph.D. +# COMPANY: Stanford University +# VERSION: 1.0 +# CREATED: 03/04/2014 03:41:05 PM PST +# REVISION: --- +#=============================================================================== + + +# TODO: add input arguments for APIKEY and json.txt file + +APIKEY='YOUR_API_KEY' + +# Example json content +cat > json.txt <