Skip to content

Commit

Permalink
Fix Json format in Readme config example
Browse files Browse the repository at this point in the history
the json example in the readme contained errors, missing commas, which broke the config.
  • Loading branch information
fredriklunde committed Apr 29, 2019
1 parent a5e4e18 commit 7fd5291
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Expand Up @@ -54,18 +54,18 @@ Response:
modules: [
...
{
module: 'MMM-Vasttrafik-PublicTransport',
position: 'bottom_left',
module: "MMM-Vasttrafik-PublicTransport",
position: "bottom_left",
header: "Västtrafik",
config: {
stopIds: ["your_stop_ids"], // REQUIRED. An array of stop is's. Your are required to have at least one stop.
// see 3. Get stops that you want to track.
appKey: "your_app_key", // REQUIRED. see 1. Create application and obtain required client id and secret.
appSecret: "your_app_secret", // REQUIRED. see 1. Create application and obtain required client id and secret.
debug: false, // Optional. Enable some extra output when debugging.
sortBy: "track" // Optional. Sort your departure board by either "track", "direction", "line" or "type"
sortBy: "track", // Optional. Sort your departure board by either "track", "direction", "line" or "type"
// default is "track".
refreshRate: "20000" // Optional. Refresh rate int milliseconds, default is 60 seconds.
refreshRate: "20000", // Optional. Refresh rate int milliseconds, default is 60 seconds.
trafficSituations: true, // Optional. Default is false, you need a subscription to TrafficSituations v1 API please see Prerequisites 2.1
board: {
destination: {
Expand Down

0 comments on commit 7fd5291

Please sign in to comment.