Skip to content

Commit 19fecbc

Browse files
authored
Updated README to use service_name instead of name
1 parent d2a8114 commit 19fecbc

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

README.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ Before running JACK, you have to configure your `config.toml` file. Here's how i
3939

4040
```toml
4141
[some_api]
42-
name = "Some API" # The name of the application
42+
service_name = "Some API" # The name of the application
4343
url = "http://someapi.xyz" # The url that it'll query
4444
method = "GET" # The method to use (only GET for now)
4545

@@ -64,7 +64,7 @@ Let's say you want some information about a certain YouTube channel. Start with
6464

6565
```toml
6666
[mychannel]
67-
name = "Great YouTube Channel - YouTube Example"
67+
service_name = "Great YouTube Channel - YouTube Example"
6868
url = "https://www.googleapis.com/youtube/v3/channels/"
6969
method = "GET"
7070
```
@@ -91,7 +91,7 @@ maxResults = "50"
9191
Done. When you run JACK with the above configuration, you should see the following output:
9292

9393
```
94-
name = "Great YouTube Channel - YouTube Example"
94+
service_name = "Great YouTube Channel - YouTube Example"
9595
contentDetails = {"relatedPlaylists":{"likes":"","uploads":"UUuQ8zW9VmVyml7KytSqJDzg"}}
9696
title = "Papo Binário"
9797
totalViews = "2083346"
@@ -103,7 +103,7 @@ For advanced metrics on YouTube, they offer separate service called YouTube Anal
103103

104104
```toml
105105
[mychannel_analytics]
106-
name = "My Great Channel - YouTube Analytics Example"
106+
service_name = "My Great Channel - YouTube Analytics Example"
107107
url = "https://youtubeanalytics.googleapis.com/v2/reports"
108108
method = "GET"
109109

@@ -130,7 +130,7 @@ Before running JACK with the above configuration, you need to provide a `client_
130130
JACK's output would be like the following:
131131

132132
```
133-
name = "My Great Channel - YouTube Analytics Example"
133+
service_name = "My Great Channel - YouTube Analytics Example"
134134
estimatedMinutesWatched = 162626
135135
likes = 2964
136136
subscribersGained = 646

0 commit comments

Comments
 (0)