Random Cats!

=^•^=

I used a cat API to find random images of cats. Yay!

In [21]:
! python -V 
Python 3.7.0
In [22]:
! ipython -V
6.5.0
In [24]:
from IPython.display import Image
import requests, json 

catURL = 'http://aws.random.cat/meow'

imageURL = json.loads(requests.get(catURL).content)["file"]

img = Image(requests.get(imageURL).content)
display(img)
In [ ]:
 
In [ ]: