1 2 3 4 5 6 7 8 |
<script src="http://code.jquery.com/jquery-1.9.1.js"></script> <script> $(document).ready(function(){ $.get('http://www.blinkstick.com/d/MYNUMBER/blue.json', 'client=mikescafe', function(data) {}); }); </script> |
For Blinkstick usage from url Only
In the above code you can use just this for shortness
1 2 3 |
$.get('http://www.blinkstick.com/d/MYNUMBER/A9100A.json'); |
You can target the colour by name (i.e red,blue) or hex code without the hash (FC05FF)
http://www.blinkstick.com/d/MYNUMBER/FC05FF.json