diff --git a/bruno/AniTrack/Simkl/Get Items/GetUser WatchList.bru b/bruno/AniTrack/Simkl/Get Items/GetUser WatchList.bru new file mode 100644 index 0000000..c7c13f7 --- /dev/null +++ b/bruno/AniTrack/Simkl/Get Items/GetUser WatchList.bru @@ -0,0 +1,17 @@ +meta { + name: GetUser WatchList + type: http + seq: 2 +} + +get { + url: https://api.simkl.com/sync/all-items/anime/watching + body: none + auth: none +} + +headers { + Authorization: Bearer {{SIMKL_AUTH_TOKEN}} + Content-Type: application/json + simkl-api-key: {{SIMKL_CLIENT_ID}} +} diff --git a/bruno/AniTrack/environments/Dev.bru b/bruno/AniTrack/environments/Dev.bru index 7002ac7..7993062 100644 --- a/bruno/AniTrack/environments/Dev.bru +++ b/bruno/AniTrack/environments/Dev.bru @@ -5,5 +5,6 @@ vars { SIMKL_CLIENT_SECRET: {{process.env.SIMKL_CLIENT_SECRET}} } vars:secret [ - code + code, + SIMKL_AUTH_TOKEN ] diff --git a/frontend/src/simkl/types/simklTypes.ts b/frontend/src/simkl/types/simklTypes.ts new file mode 100644 index 0000000..e69de29