You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: examples/spectra6/comic_vine/README.md
+4-3Lines changed: 4 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -1,13 +1,14 @@
1
1
# comic.py
2
2
3
+
`comic.py` fetches and displays a random comic book cover from the Comic Vine API.
4
+
3
5
-[comic.py](#comicpy)
4
6
-[About Comic Vine](#about-comic-vine)
5
7
-[Pre-requisites](#pre-requisites)
6
8
-[Usage](#usage)
7
9
-[Notes](#notes)
8
10
9
-
10
-
`comic.py` fetches and displays a random comic book cover from the Comic Vine API. The code
11
+
The code
11
12
12
13
- Searches for a list of comic volumes by title.
13
14
- Selects a random issue from the chosen volume (or volumes)
@@ -30,5 +31,5 @@ You'll need to have the Inky library installed and your virtual environment acti
30
31
31
32
## Notes
32
33
33
-
- You can change the search query by editing the `SEARCH_QUERY` variable - the default is 'Weird Science', which looks like a great read.
34
+
- You can change the volume search query by editing the `SEARCH_QUERY` variable - the default is 'Weird Science', which looks like a great read.
34
35
- Set `RANDOM_VOLUME = True` to select a random volume instead choosing of the first search result. We found this varied things up when there were multiple volumes with the same title.
0 commit comments