Hingmy API
Dependencies
The host page must load a number of dependencies for the graph to load and display properly. Add these lines once near the top of the body tag. The script will function with jquery 1.8.3 or higher. If jquery is not loaded on the page, the script will load it automatically.
<script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
<script type="text/javascript" src="//www.hingmy.com/site/script/hingmy.min.js"></script>
<script type="text/javascript" src="//www.hingmy.com/site/script/hingmy.dev.min.js"></script>
Graphs
The Hingmy graph API can be used to include graphs in host pages. Place the following javascript on your page. The script will replace the <div> on the first line with the matching ID with the graph downloaded from Hingmy.
<script type="text/javascript">
HDUtil.loadGraph('pr=460','id');
</script>
Products
The product API returns information about a prodcut in the Hingmy DB.
<script type="text/javascript">
HDUtil.loadOfferBar('3903','id');
</script>