added api.py to randomly choose between etsy and edmunds