ciyidogan commited on
Commit
6939b86
·
verified ·
1 Parent(s): b063f93

Update service_config.json

Browse files
Files changed (1) hide show
  1. service_config.json +9 -9
service_config.json CHANGED
@@ -15,7 +15,7 @@
15
  },
16
  "apis": {
17
  "currency_api": {
18
- "url": "https://<NGROK_OR_LOCALHOST>/doviz",
19
  "method": "POST",
20
  "headers": [
21
  { "key": "Authorization", "value": "Bearer {auth_tokens.currency_api.token}" }
@@ -26,10 +26,10 @@
26
  "timeout": 5,
27
  "retry_count": 1,
28
  "auth": {
29
- "auth_endpoint": "https://<NGROK_OR_LOCALHOST>/auth",
30
  "auth_body": { "username": "user", "password": "pass" },
31
  "auth_token_path": "token",
32
- "auth_refresh_endpoint": "https://<NGROK_OR_LOCALHOST>/refresh",
33
  "refresh_body": { "refresh_token": "{auth_tokens.currency_api.token}" }
34
  },
35
  "response_parser": {
@@ -39,7 +39,7 @@
39
  "reply_template": "{variables.currency} kuru şu an {rate} TL."
40
  },
41
  "traffic_api": {
42
- "url": "https://<NGROK_OR_LOCALHOST>/yol",
43
  "method": "POST",
44
  "headers": [
45
  { "key": "Authorization", "value": "Bearer {auth_tokens.traffic_api.token}" }
@@ -51,10 +51,10 @@
51
  "timeout": 5,
52
  "retry_count": 1,
53
  "auth": {
54
- "auth_endpoint": "https://<NGROK_OR_LOCALHOST>/auth",
55
  "auth_body": { "username": "user", "password": "pass" },
56
  "auth_token_path": "token",
57
- "auth_refresh_endpoint": "https://<NGROK_OR_LOCALHOST>/refresh",
58
  "refresh_body": { "refresh_token": "{auth_tokens.traffic_api.token}" }
59
  },
60
  "response_parser": {
@@ -64,7 +64,7 @@
64
  "reply_template": "{from_location} ile {to_location} arasındaki trafik durumu: {status}"
65
  },
66
  "weather_api": {
67
- "url": "https://<NGROK_OR_LOCALHOST>/hava",
68
  "method": "POST",
69
  "headers": [
70
  { "key": "Authorization", "value": "Bearer {auth_tokens.weather_api.token}" }
@@ -75,10 +75,10 @@
75
  "timeout": 5,
76
  "retry_count": 1,
77
  "auth": {
78
- "auth_endpoint": "https://<NGROK_OR_LOCALHOST>/auth",
79
  "auth_body": { "username": "user", "password": "pass" },
80
  "auth_token_path": "token",
81
- "auth_refresh_endpoint": "https://<NGROK_OR_LOCALHOST>/refresh",
82
  "refresh_body": { "refresh_token": "{auth_tokens.weather_api.token}" }
83
  },
84
  "response_parser": {
 
15
  },
16
  "apis": {
17
  "currency_api": {
18
+ "url": "https://2b09-176-88-34-20.ngrok-free.app/doviz",
19
  "method": "POST",
20
  "headers": [
21
  { "key": "Authorization", "value": "Bearer {auth_tokens.currency_api.token}" }
 
26
  "timeout": 5,
27
  "retry_count": 1,
28
  "auth": {
29
+ "auth_endpoint": "https://2b09-176-88-34-20.ngrok-free.app/auth",
30
  "auth_body": { "username": "user", "password": "pass" },
31
  "auth_token_path": "token",
32
+ "auth_refresh_endpoint": "https://2b09-176-88-34-20.ngrok-free.app/refresh",
33
  "refresh_body": { "refresh_token": "{auth_tokens.currency_api.token}" }
34
  },
35
  "response_parser": {
 
39
  "reply_template": "{variables.currency} kuru şu an {rate} TL."
40
  },
41
  "traffic_api": {
42
+ "url": "https://2b09-176-88-34-20.ngrok-free.app/yol",
43
  "method": "POST",
44
  "headers": [
45
  { "key": "Authorization", "value": "Bearer {auth_tokens.traffic_api.token}" }
 
51
  "timeout": 5,
52
  "retry_count": 1,
53
  "auth": {
54
+ "auth_endpoint": "https://2b09-176-88-34-20.ngrok-free.app/auth",
55
  "auth_body": { "username": "user", "password": "pass" },
56
  "auth_token_path": "token",
57
+ "auth_refresh_endpoint": "https://2b09-176-88-34-20.ngrok-free.app/refresh",
58
  "refresh_body": { "refresh_token": "{auth_tokens.traffic_api.token}" }
59
  },
60
  "response_parser": {
 
64
  "reply_template": "{from_location} ile {to_location} arasındaki trafik durumu: {status}"
65
  },
66
  "weather_api": {
67
+ "url": "https://2b09-176-88-34-20.ngrok-free.app/hava",
68
  "method": "POST",
69
  "headers": [
70
  { "key": "Authorization", "value": "Bearer {auth_tokens.weather_api.token}" }
 
75
  "timeout": 5,
76
  "retry_count": 1,
77
  "auth": {
78
+ "auth_endpoint": "https://2b09-176-88-34-20.ngrok-free.app/auth",
79
  "auth_body": { "username": "user", "password": "pass" },
80
  "auth_token_path": "token",
81
+ "auth_refresh_endpoint": "https://2b09-176-88-34-20.ngrok-free.app/refresh",
82
  "refresh_body": { "refresh_token": "{auth_tokens.weather_api.token}" }
83
  },
84
  "response_parser": {