An example of using the DS106 GiF API jsonp example. Have a look at the source to see how it works.
https://johnjohnston.info/oddsandends/ds106gif?f=jsonp&c=10 returns info about 10 random ds106 gifs.