Routes¶
routes.tvtime
¶
TvTime Routes
Raises:
| Type | Description |
|---|---|
HTTPException
|
Redis Connection Error |
Returns:
| Name | Type | Description |
|---|---|---|
APIRouter | Router for tvtime routes |
router = APIRouter(prefix='', tags=['tvtime'], responses={200: {'description': 'Success'}, 404: {'description': 'Not found/Redis Connection Error'}})
module-attribute
¶
follow_show(user, show)
¶
Source code in src/routes/tvtime.py
103 104 105 106 | |
get_all_data(username, tvtime_data_service)
¶
Source code in src/routes/tvtime.py
45 46 47 48 49 50 51 52 53 54 | |
get_not_started_yet(username, tvtime_data_service)
¶
Source code in src/routes/tvtime.py
81 82 83 84 85 86 87 88 89 90 | |
get_not_watched_for_while(username, tvtime_data_service)
¶
Source code in src/routes/tvtime.py
69 70 71 72 73 74 75 76 77 78 | |
get_show(username, show, tvtime_data_service)
¶
Source code in src/routes/tvtime.py
93 94 95 96 97 98 99 100 | |
get_status(current_user, tvtime_data_service)
¶
Source code in src/routes/tvtime.py
32 33 34 35 36 37 38 39 40 41 42 | |
get_watch_next(username, tvtime_data_service)
¶
Source code in src/routes/tvtime.py
57 58 59 60 61 62 63 64 65 66 | |
mark_episode_unwatched(user, episode, tvtime_data_service)
¶
Source code in src/routes/tvtime.py
131 132 133 134 135 136 137 138 | |
mark_episode_watched(user, episode, tvtime_data_service)
¶
Source code in src/routes/tvtime.py
121 122 123 124 125 126 127 128 | |
mark_season_unwatched(user, season, tvtime_data_service)
¶
Source code in src/routes/tvtime.py
151 152 153 154 155 156 157 158 | |
mark_season_watched(user, season, tvtime_data_service)
¶
Source code in src/routes/tvtime.py
141 142 143 144 145 146 147 148 | |
mark_show_watched_until(user, show)
¶
Source code in src/routes/tvtime.py
115 116 117 118 | |
unfollow_show(user, show)
¶
Source code in src/routes/tvtime.py
109 110 111 112 | |