xyxie 1 Minggu lalu
induk
melakukan
d5fd15ca26
1 mengubah file dengan 16 tambahan dan 2 penghapusan
  1. 16 2
      services/kpler/liquid.go

+ 16 - 2
services/kpler/liquid.go

@@ -16,8 +16,8 @@ func main() {
 	// }
 	// fmt.Println(token)
   token := "I2QhtXO_jL7-r-qfu3c93HhiUrY_qSnCw6ZaMx9ImD2IL"
-	getProduct(token)
-  //getLiquidFlow(token)
+	//getProduct(token)
+  getFlow(token)
   //getLNGFlow(token)
 }
 
@@ -267,4 +267,18 @@ func getFlow(token string) {
     return
   }
   fmt.Println(string(body))
+//   bodystr :=`Date;China;Period End Date
+// 2024-07;35763.15;2024-07-31
+// 2024-08;35386.42;2024-08-31
+// 2024-09;39657.10;2024-09-30
+// 2024-10;39909.08;2024-10-31
+// 2024-11;36541.03;2024-11-30
+// 2024-12;38551.49;2024-12-31
+// 2025-01;34607.56;2025-01-31
+// 2025-02;28280.53;2025-02-28
+// 2025-03;29965.73;2025-03-31
+// 2025-04;15157.51;2025-04-30
+// 2025-05;3795.25;2025-05-31
+// 2025-06;0;2025-06-30`
+
 }