Closed eloyz closed 9 years ago
Hello,
Thanks for this new script. In order to be added to the code I would like a few modifications to be added. I don't want to add external dependencies if it is not totally required. So I am not ready to add ipython or pillow (for your other pull request) as a dependency while most of the project does not require it.
Instead, I would prefer having the import on those external libraries surrounded by a try/catch and an error message displayed in case the required module is not installed.
For this script printing the message (using warnings module ?) and raising SytemExit should be enough. I'll comment further on this in the thread regarding the problem with PIL.
Thanks again for the contribution.
Alexis
Updated
Thanks for the addition
Running
python shell <access_token_file.txt>
will auto-authenticate, create a user object and place you in a shell so that you're ready to real-time interact with the API. Making it easier to explore the API and have some fun.Example input/output below.