@@ -39,7 +39,7 @@ Before running JACK, you have to configure your `config.toml` file. Here's how i
39
39
40
40
``` toml
41
41
[some_api ]
42
- name = " Some API" # The name of the application
42
+ service_name = " Some API" # The name of the application
43
43
url = " http://someapi.xyz" # The url that it'll query
44
44
method = " GET" # The method to use (only GET for now)
45
45
@@ -64,7 +64,7 @@ Let's say you want some information about a certain YouTube channel. Start with
64
64
65
65
``` toml
66
66
[mychannel ]
67
- name = " Great YouTube Channel - YouTube Example"
67
+ service_name = " Great YouTube Channel - YouTube Example"
68
68
url = " https://www.googleapis.com/youtube/v3/channels/"
69
69
method = " GET"
70
70
```
@@ -91,7 +91,7 @@ maxResults = "50"
91
91
Done. When you run JACK with the above configuration, you should see the following output:
92
92
93
93
```
94
- name = "Great YouTube Channel - YouTube Example"
94
+ service_name = "Great YouTube Channel - YouTube Example"
95
95
contentDetails = {"relatedPlaylists":{"likes":"","uploads":"UUuQ8zW9VmVyml7KytSqJDzg"}}
96
96
title = "Papo Binário"
97
97
totalViews = "2083346"
@@ -103,7 +103,7 @@ For advanced metrics on YouTube, they offer separate service called YouTube Anal
103
103
104
104
``` toml
105
105
[mychannel_analytics ]
106
- name = " My Great Channel - YouTube Analytics Example"
106
+ service_name = " My Great Channel - YouTube Analytics Example"
107
107
url = " https://youtubeanalytics.googleapis.com/v2/reports"
108
108
method = " GET"
109
109
@@ -130,7 +130,7 @@ Before running JACK with the above configuration, you need to provide a `client_
130
130
JACK's output would be like the following:
131
131
132
132
```
133
- name = "My Great Channel - YouTube Analytics Example"
133
+ service_name = "My Great Channel - YouTube Analytics Example"
134
134
estimatedMinutesWatched = 162626
135
135
likes = 2964
136
136
subscribersGained = 646
0 commit comments