Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
[WIP] PCC16 Query Your Favorite API #172
+180
−0
Conversation
| + | ||
| + | ||
| + | ||
| +api_key = 'a2a73e7b926c924fad7001ca3111acd55af2ffabf50eb4ae5' |
| + | ||
| + | ||
| +def parse_response(response): | ||
| + """ |
|
nice work |
mridubhatnagar
added some commits
Dec 20, 2017
mridubhatnagar
changed the title from
PCC16 Query Your Favorite API
to
[WIP] PCC16 Query Your Favorite API
Dec 20, 2017
mridubhatnagar
added some commits
Dec 20, 2017
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
mridubhatnagar commentedDec 20, 2017
•
Edited 10 times
-
mridubhatnagar
Dec 28, 2017
-
mridubhatnagar
Dec 25, 2017
-
mridubhatnagar
Dec 24, 2017
-
mridubhatnagar
Dec 24, 2017
-
mridubhatnagar
Dec 21, 2017
-
mridubhatnagar
Dec 21, 2017
-
mridubhatnagar
Dec 21, 2017
-
mridubhatnagar
Dec 21, 2017
-
mridubhatnagar
Dec 20, 2017
-
mridubhatnagar
Dec 20, 2017
Tweaked around WordnikAPI to fetch one word of the day. The
random word generated is emailed every day to the recipient's
mail address.
TODO:
Write Unit test cases
ATTENTION: before clicking "Create Pull Request" please submit some meta data, thanks!
Difficulty level (1-10):
7
Estimated time spent (hours):
~10-11 ( to come up with a use case and solution)
Some more time to get a hang of cron job.
Completed (yes/no):
Yes
I stretched my coding skills (if yes what did you learn?):
script.
Challenges
As of now to implement this. It is assumed that system and wifi are up and running at the time when cron is scheduled. Not a good approach.
So, for systems that are not always up and running. Learnt that there is anacrontab in ubuntu. So, if my cron is scheduled at 4:00 am. But, in case at 4:00 my system was turned off. So, the time I switch on the system 10 mins after that I'll receive the email.
Other feedback (what can we improve?): []