Here is a simple cshell script to get coordinates from a chemical name using Open Babel.
Acknowledgements (Jimmy's "friends" please read carefully): I learned about curl from Jimmy who didn't contribute to the code in any way (and hates cshell anyway).

This work is licensed under a Creative Commons Attribution 4.0