You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1.8 KiB
1.8 KiB
Trakt Attributes
Configuring Trakt.tv is optional but is required for Trakt based collections to function.
A trakt
mapping is in the root of the config file.
Below is a trakt
mapping example and the full set of attributes:
trakt:
client_id: ################################################################
client_secret: ################################################################
pin:
authorization:
access_token:
token_type:
expires_in:
refresh_token:
scope:
created_at:
Attribute | Allowed Values | Default | Required |
---|---|---|---|
client_id |
Trakt Application Client ID | N/A | ✅ |
client_secret |
Trakt Application Client Secret | N/A | ✅ |
pin |
Trakt Pin | None | ❌ |
-
All other attributes will be filled in by the script.
-
To connect to Trakt.tv you must create a Trakt application and supply the script the
client_id
,client_secret
, andpin
provided, please do the following:
- Click here to create a Trakt API application.
- Enter a
Name
for the application. - Enter
urn:ietf:wg:oauth:2.0:oob
forRedirect uri
. - Click the
SAVE APP
button. - Record the
Client ID
andClient Secret
asclient_id
andclient_secret
in your Configuration File. - Navigate to
https://trakt.tv/oauth/authorize?response_type=code&redirect_uri=urn:ietf:wg:oauth:2.0:oob&client_id=<<CLIENT_ID>>
replacing<<CLIENT_ID>>
with your Client ID. - Record the
PIN
aspin
in your Configuration File.
- Run the script shortly after obtaining your pin I don't know if it expires at any point or not.