-
Notifications
You must be signed in to change notification settings - Fork 3
/
_pkgdown.yml
159 lines (146 loc) · 4.41 KB
/
_pkgdown.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
development:
mode: release
url: https://jemus42.github.io/tRakt
home:
title: Get movie and tv data from trakt.tv
description: >
Access the trakt.tv API to get data about movies and tv shows including
detailed season and episode data. Additional methods to get cast and crew are
available, or inversely, find a person's movie / tv credits.
template:
includes:
in_header: |
<noscript><p><img src="https://matomo.jemu.name/matomo.php?idsite=3&rec=1" style="border:0;" alt="" /></p></noscript>
bootstrap: 5
bootswatch: litera
theme: kate
bslib:
# pkgdown-nav-height: 70px
# base_font: {google: "Source Serif Pro"}
# heading_font: {google: "Source Sans Pro"}
# code_font: {google: "Source Code Pro"}
opengraph:
image:
src: "man/figures/logo.png"
alt: "Hex sticker showing the trakt.tv logo"
twitter:
creator: "@jemus42"
# site: "@rstudio"
card: summary_large_image # summary
# Default ordering. Would like changelog to the left of search but order isn't preserved based on YAML
navbar:
structure:
left: [intro, reference, articles, tutorials, news]
right: [search, github]
authors:
Lukas Burk:
href: https://blog.jemu.name
news:
one_page: true
cran_dates: false
# releases:
# - text: "tRakt 1.0"
# href: link
reference:
- title: Basic API interaction
desc: >
These functions are basic building blocks – you don't have to use them directly.
contents:
- trakt_get
- trakt_credentials
- subtitle: Search – Finding media
desc: >
Searching for items is usually required to retrieve some kind of ID, like the `slug`,
which is required for use of item-specific functions.
contents:
- search_query
- search_id
- title: Shows and Movies
- subtitle: Things that are popular, trending, anticipated, ...
contents:
- ends_with("(popular|trending|anticipated|watched|watching|played|collected)")
- -starts_with("user_")
- subtitle: Single-item summary data
contents:
- ends_with("_summary")
- -starts_with("user_")
- subtitle: Seasons and episodes
contents:
- seasons_summary
- seasons_season
- matches("shows_.*_episode")
- subtitle: Movie-specific data
contents:
- movies_boxoffice
- movies_releases
- subtitle: Media ratings
desc: >
These functions return the full rating distribution for an item, in contrast to
the `_summary`-methods, which return the average rating of an item.
contents:
- ends_with("_ratings")
- -starts_with("user_")
- subtitle: Media stats
desc: >
These functions return the number of watchers, plays, collectors, comments,
lists and votes of an item.
contents:
- ends_with("_stats")
- -starts_with("user_")
- subtitle: Related media
desc: "Media related to media."
contents:
- movies_related
- shows_related
- title: People – Cast & Crew
desc: >
Cast and crew for media items, as well as the reverse; credits for people.
contents:
- people_summary
- starts_with("people_")
- ends_with("_people")
- title: Users
desc: >
Access user-specific data. This is only possible if the user in question
has a public profile _or_ authentication is available and you are friends.
contents:
- starts_with("user_")
- title: Miscellaneous content
- subtitle: Lists
desc: >
Watchlists or topical lists created by trakt.tv users. These can contain
all kinds of media types, from movies to episodes to people.
contents:
- starts_with("list")
- contains("list")
- subtitle: Comments
contents:
- contains("comment")
- subtitle: Localization
contents:
- ends_with("aliases")
- ends_with("translations")
# - subtitle: Recently updated items
# contents:
# - shows_updates
# - movies_updates
- subtitle: Utilities
desc: "Included for convenience."
contents:
- build_trakt_url
- pad_episode
- title: Included Data
- subtitle: Episode datasets
desc: "For demonstration purposes."
contents:
- futurama
- gameofthrones
- subtitle: Internal datasets
desc: >
These are unlikely to be useful on their own, but they are useful as a reference
for optional filters.
contents:
- trakt_datasets
- title: This package
contents:
- tRakt