Echoing Iain here on his note about Python.  <br><br>In the Chuck spirit of really hacky ways of doing things, you can always create for yourself a little shell API and use std.system() to make calls.  You&#39;d probably have to dump the results into a file and then read those but I&#39;ve done worse things to get data to Chuck.  (FIFO pipes come to mind....  ;)<br><br>Good luck!<br><br>Mike<br><div class="gmail_quote"><div dir="ltr">On Sat, Jun 4, 2016 at 7:58 AM Iain Emsley &lt;<a href="mailto:iain.emsley@kellogg.ox.ac.uk">iain.emsley@kellogg.ox.ac.uk</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">



<div style="word-wrap:break-word">
Hi Dave, 
<div><br>
</div>
<div>I’d be curious about this as well. </div>
<div><br>
</div>
<div>So far I have always used external Python scripts to get the data and transform it before using either arguments, file or Open Sound Control (OSC) to contact ChucK. Occasionally I’ve written rules within ChucK to then map or create the sound.
  </div>
<div><br>
</div>
<div>All best, </div>
<div><br>
</div>
<div>Iain</div>
<div><br>
</div>
<div>
<div>
<div>Iain Emsley</div>
<div><br>
</div>
<div>Research Associate</div>
<div>Oxford e-Research Centre</div>
<div>University of Oxford </div>
<div><br>
</div>
<br>
</div></div></div><div style="word-wrap:break-word"><div>
<br>
<div>
<blockquote type="cite">
<div>On 4 Jun 2016, at 05:09, David MacDonald &lt;<a href="mailto:davidjohnmacdonald@gmail.com" target="_blank">davidjohnmacdonald@gmail.com</a>&gt; wrote:</div>
<br>
<div>
<div style="font-family:Helvetica,Arial;font-size:13px;font-style:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;margin:0px">
Hi all, </div>
<div style="font-family:Helvetica,Arial;font-size:13px;font-style:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;margin:0px">
<br>
</div>
<div style="font-family:Helvetica,Arial;font-size:13px;font-style:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;margin:0px">
I&#39;m new to ChucK and looking for a little advice. I&#39;m currently working on a &quot;podcast&quot; bot which will generate new sounds/episodes nightly. I currently have a Ruby script organizing everything and handling the logistics of uploading the MP3 and updating the
 RSS feed. It runs asynchronously on a Raspberry Pi (Cron &gt; Ruby &gt; Chuck).</div>
<div style="font-family:Helvetica,Arial;font-size:13px;font-style:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;margin:0px">
<br>
</div>
<div style="font-family:Helvetica,Arial;font-size:13px;font-style:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;margin:0px">
Anyhow, I&#39;d eventually like this little guy to be able to reach out on the web and have its sounds influenced by data it finds. So I was wondering if you all had any suggestions pulling things in from REST APIs like Twitter or news feeds or whatever. Is there
 a function for this in ChucK? Or would it be better to handle this stuff in Ruby and pass it to ChucK via a temporary text file or runtime arguments or something? </div>
<div style="font-family:Helvetica,Arial;font-size:13px;font-style:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;margin:0px">
<br>
</div>
<div style="font-family:Helvetica,Arial;font-size:13px;font-style:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;margin:0px">
Thanks, </div>
<div style="font-family:Helvetica,Arial;font-size:13px;font-style:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;margin:0px">
<br>
</div>
<div style="font-family:Helvetica,Arial;font-size:13px;font-style:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;margin:0px">
Dave</div>
<br style="font-family:Helvetica,Arial;font-size:13px;font-style:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
<div style="font-family:Helvetica,Arial;font-size:13px;font-style:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
</div>
<span style="font-family:Helvetica,Arial;font-size:13px;font-style:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;float:none;display:inline!important">_______________________________________________</span><br style="font-family:Helvetica,Arial;font-size:13px;font-style:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
<span style="font-family:Helvetica,Arial;font-size:13px;font-style:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;float:none;display:inline!important">chuck-users
 mailing list</span><br style="font-family:Helvetica,Arial;font-size:13px;font-style:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
<a href="mailto:chuck-users@lists.cs.princeton.edu" style="font-family:Helvetica,Arial;font-size:13px;font-style:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px" target="_blank">chuck-users@lists.cs.princeton.edu</a><br style="font-family:Helvetica,Arial;font-size:13px;font-style:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
<a href="https://lists.cs.princeton.edu/mailman/listinfo/chuck-users" style="font-family:Helvetica,Arial;font-size:13px;font-style:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px" target="_blank">https://lists.cs.princeton.edu/mailman/listinfo/chuck-users</a></div>
</blockquote>
</div>
<br>
</div></div>

_______________________________________________<br>
chuck-users mailing list<br>
<a href="mailto:chuck-users@lists.cs.princeton.edu" target="_blank">chuck-users@lists.cs.princeton.edu</a><br>
<a href="https://lists.cs.princeton.edu/mailman/listinfo/chuck-users" rel="noreferrer" target="_blank">https://lists.cs.princeton.edu/mailman/listinfo/chuck-users</a><br>
</blockquote></div>