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: README.md
+19-9
Original file line number
Diff line number
Diff line change
@@ -138,6 +138,7 @@ Which game properties should be fetched when a new Steam game is detected, and t
138
138
},
139
139
"reviewScore": {
140
140
"enabled": true,
141
+
"format": "percentage",
141
142
"notionProperty": "Review Score"
142
143
},
143
144
"tags": {
@@ -153,7 +154,7 @@ Which game properties should be fetched when a new Steam game is detected, and t
153
154
<details>
154
155
<summary><code>gameName</code></summary>
155
156
156
-
The name of the game as it appears on Steam. The database field in Notion must be of type "Text".
157
+
The name of the game as it appears on Steam. The database field in Notion must be of type `Text`.
157
158
158
159
| Type | Default value | Possible values | Required |
159
160
|---|---|---|---|
@@ -267,7 +268,7 @@ The URL of the image to use if the game does not have an icon through any of the
267
268
<details>
268
269
<summary><code>releaseDate</code></summary>
269
270
270
-
The release date of the game. The database field in Notion must be of type "Date".
271
+
The release date of the game. The database field in Notion must be of type `Date`.
271
272
272
273
| Type | Default value | Possible values | Required |
273
274
|---|---|---|---|
@@ -302,7 +303,7 @@ The name of the Notion property to set the release date in.
302
303
<details>
303
304
<summary><code>reviewScore</code></summary>
304
305
305
-
The user review score from 0-100. The database field in Notion must be of type "Number".
306
+
The user review score for the game, formatted as one of a number of options. The database field in Notion must match the type defined by the chosen "format".
306
307
307
308
| Type | Default value | Possible values | Required |
308
309
|---|---|---|---|
@@ -311,6 +312,7 @@ The user review score from 0-100. The database field in Notion must be of type "
311
312
```json
312
313
"reviewScore": {
313
314
"enabled": true,
315
+
"format": "percentage",
314
316
"notionProperty": "Review Score"
315
317
}
316
318
```
@@ -325,6 +327,14 @@ Whether or not the user review score should be set in the database.
325
327
|---|---|---|---|
326
328
|`boolean`|`true`|`true` or `false`| Yes |
327
329
330
+
<h4><code>format</code></h4>
331
+
332
+
How the review score should be formatted.
333
+
334
+
| Type | Default value | Possible values | Required |
335
+
|---|---|---|---|
336
+
|`string`|`percentage`|`percentage`: Notion database field type: `Number`. A percentage value formatted as a float from 0.00-1.00.<br/>`sentiment`:Notion database field type: `Select`. A sentiment value such as "Overwhelmingly Positive" or "Mixed".<br/>`total`:Notion database field type: `Number`. The total number of reviews submitted for the game, across all languages.<br/>`positive`:Notion database field type: `Number`. The total number of positive reviews submitted for the game, across all languages.<br/>`negative`:Notion database field type: `Number`. The total number of negative reviews submitted for the game, across all languages.<br/>`positive/negative`:Notion database field type: `Text`. The total number of positive and negative reviews submitted for the game, across all languages, formatted as "{numPositive} positive / {numNegative} negative". | Yes |
337
+
328
338
<h4><code>notionProperty</code></h4>
329
339
330
340
The name of the Notion property to set the user review score in.
@@ -337,7 +347,7 @@ The name of the Notion property to set the user review score in.
337
347
<details>
338
348
<summary><code>tags</code></summary>
339
349
340
-
The user-defined tags of the game as they can be seen on the store page. The database field in Notion must be of type "Multi-select".
350
+
The user-defined tags of the game as they can be seen on the store page. The database field in Notion must be of type `Multi-select`.
341
351
342
352
| Type | Default value | Possible values | Required |
343
353
|---|---|---|---|
@@ -363,7 +373,7 @@ Whether or not the tags of the game should be set in the database.
363
373
364
374
<h4><code>notionProperty</code></h4>
365
375
366
-
The name of the Notion property to set the tags in. This field must be of type "multi-select".
376
+
The name of the Notion property to set the tags in. This field must be of type `Multi-select`.
367
377
368
378
| Type | Default value | Possible values | Required |
369
379
|---|---|---|---|
@@ -382,7 +392,7 @@ The language of the tags, e.g. "english" or "spanish".
382
392
<details>
383
393
<summary><code>gameDescription</code></summary>
384
394
385
-
The short description of the game as it appears on the store page. The database field in Notion must be of type "Text".
395
+
The short description of the game as it appears on the store page. The database field in Notion must be of type `Text`.
386
396
387
397
| Type | Default value | Possible values | Required |
388
398
|---|---|---|---|
@@ -417,7 +427,7 @@ The name of the Notion property to set the description in.
417
427
<details>
418
428
<summary><code>storePage</code></summary>
419
429
420
-
The URL to the store page of the game. The database field in Notion must be of type "URL".
430
+
The URL to the store page of the game. The database field in Notion must be of type `URL`.
421
431
422
432
| Type | Default value | Possible values | Required |
423
433
|---|---|---|---|
@@ -452,7 +462,7 @@ The name of the Notion property to set the store page URL in.
452
462
<details>
453
463
<summary><code>gamePrice</code></summary>
454
464
455
-
The price of the game on Steam. Does not account for current sales or discounts (as this data would be outdated too quickly). The currency depends on your current country. The database field in Notion must be of type "Number".
465
+
The price of the game on Steam. Does not account for current sales or discounts (as this data would be outdated too quickly). The currency depends on your current country. The database field in Notion must be of type `Number`.
456
466
457
467
| Type | Default value | Possible values | Required |
458
468
|---|---|---|---|
@@ -487,7 +497,7 @@ The name of the Notion property to set the price in.
The Steam Deck Compatibility score, which can be one of "Verified", "Playable", "Unsupported" or "Unknown". The database field in Notion must be of type "Select".
500
+
The Steam Deck Compatibility score, which can be one of "Verified", "Playable", "Unsupported" or "Unknown". The database field in Notion must be of type `Select`.
491
501
492
502
| Type | Default value | Possible values | Required |
Copy file name to clipboardExpand all lines: config.schema.json
+35-1
Original file line number
Diff line number
Diff line change
@@ -64,6 +64,7 @@
64
64
},
65
65
"reviewScore": {
66
66
"enabled": true,
67
+
"format": "percentage",
67
68
"notionProperty": "Review Score"
68
69
},
69
70
"tags": {
@@ -199,10 +200,11 @@
199
200
]
200
201
},
201
202
"reviewScore": {
202
-
"description": "The user review score from 0-100. The database field in Notion must be of type \"Number\".",
203
+
"description": "The user review score for the game, formatted as one of a number of options. The database field in Notion must match the type defined by the chosen \"format\".",
203
204
"type": "object",
204
205
"default": {
205
206
"enabled": true,
207
+
"format": "percentage",
206
208
"notionProperty": "Review Score"
207
209
},
208
210
"additionalProperties": false,
@@ -212,6 +214,37 @@
212
214
"type": "boolean",
213
215
"default": true
214
216
},
217
+
"format": {
218
+
"description": "How the review score should be formatted.",
219
+
"type": "string",
220
+
"default": "percentage",
221
+
"oneOf": [
222
+
{
223
+
"const": "percentage",
224
+
"title": "Notion database field type: \"Number\". A percentage value formatted as a float from 0.00-1.00."
225
+
},
226
+
{
227
+
"const": "sentiment",
228
+
"title": "Notion database field type: \"Select\". A sentiment value such as \"Overwhelmingly Positive\" or \"Mixed\"."
229
+
},
230
+
{
231
+
"const": "total",
232
+
"title": "Notion database field type: \"Number\". The total number of reviews submitted for the game, across all languages."
233
+
},
234
+
{
235
+
"const": "positive",
236
+
"title": "Notion database field type: \"Number\". The total number of positive reviews submitted for the game, across all languages."
237
+
},
238
+
{
239
+
"const": "negative",
240
+
"title": "Notion database field type: \"Number\". The total number of negative reviews submitted for the game, across all languages."
241
+
},
242
+
{
243
+
"const": "positive/negative",
244
+
"title": "Notion database field type: \"Text\". The total number of positive and negative reviews submitted for the game, across all languages, formatted as \"{numPositive} positive / {numNegative} negative\"."
245
+
}
246
+
]
247
+
},
215
248
"notionProperty": {
216
249
"description": "The name of the Notion property to set the user review score in.",
0 commit comments