formatting
This commit is contained in:
parent
5870b4e675
commit
01476f4758
2 changed files with 5 additions and 3 deletions
|
|
@ -6,7 +6,7 @@ get_wanikani()
|
||||||
wanikani_reviews=$(curl -s -H "Authorization: Bearer 2da24e4a-ba89-4c4a-9047-d08f21e9dd01" "https://api.wanikani.com/v2/assignments?immediately_available_for_review=true" | jq '.total_count')
|
wanikani_reviews=$(curl -s -H "Authorization: Bearer 2da24e4a-ba89-4c4a-9047-d08f21e9dd01" "https://api.wanikani.com/v2/assignments?immediately_available_for_review=true" | jq '.total_count')
|
||||||
wanikani_lessons=$(curl -s -H "Authorization: Bearer 2da24e4a-ba89-4c4a-9047-d08f21e9dd01" "https://api.wanikani.com/v2/assignments?immediately_available_for_lessons=true" | jq '.total_count')
|
wanikani_lessons=$(curl -s -H "Authorization: Bearer 2da24e4a-ba89-4c4a-9047-d08f21e9dd01" "https://api.wanikani.com/v2/assignments?immediately_available_for_lessons=true" | jq '.total_count')
|
||||||
|
|
||||||
echo "$wanikani_reviews reviews $wanikani_lessons lessons"
|
echo "$wanikani_lessons lessons $wanikani_reviews reviews"
|
||||||
}
|
}
|
||||||
|
|
||||||
main()
|
main()
|
||||||
|
|
@ -16,4 +16,5 @@ main()
|
||||||
sleep 600
|
sleep 600
|
||||||
}
|
}
|
||||||
|
|
||||||
main
|
main
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -32,4 +32,5 @@ main()
|
||||||
sleep 3600
|
sleep 3600
|
||||||
}
|
}
|
||||||
|
|
||||||
main
|
main
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue