If I didn't send you this file, there is a good chance this is not something you want to run in your environment. Most of the assumptions in this script are customer specific.
Good example of how to manipulate the Cisco ACI API through bash/curl.
You need a lot of variables to make this work.