mirror of
https://github.com/agresdominik/predictify.git
synced 2026-04-21 17:55:49 +00:00
Added test newline
This commit is contained in:
+6
-1
@@ -1,7 +1,12 @@
|
||||
import requests
|
||||
|
||||
from auth import authenticate
|
||||
|
||||
|
||||
def main():
|
||||
"""
|
||||
This function is the main function that will be executed when the script is run
|
||||
"""
|
||||
scope = "user-read-recently-played"
|
||||
bearer_token = authenticate(scope)
|
||||
last_played_track = _get_last_played_track(bearer_token=bearer_token)
|
||||
@@ -27,4 +32,4 @@ def _get_last_played_track(limit: str = "1", bearer_token: str = "") -> dict:
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
main()
|
||||
main()
|
||||
|
||||
Reference in New Issue
Block a user