Thanks for the reply. I don't know if that code makes any difference or not. But it is correct and I made the change. And whether or not that change did anything when I ran the code again I did get an error right up front. And then I noticed an error in the code I posted. I have the "while" loop inside the try/except. It never had a chance to loop. I moved it outside the loop and the code now does what I want. It loops indefinitely.
However, I went back and looked at my original code. And it did not have such a problem. However, I did notice a different logical error on my part. But the api is only open 22:00utc Sunday to 22:00utc Friday. I will test tomorrow on Sunday. Thanks.
