Browse Source

octranspo: Switch to API v1.3

master
Stéphane Bérubé 1 month ago
parent
commit
e55324da9b
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      classes/Octranspo.php

+ 1
- 1
classes/Octranspo.php View File

@@ -46,7 +46,7 @@ class OCTranspo extends Api {
46 46
 
47 47
         // TODO: Error handling
48 48
         $ch = curl_init();
49
-        curl_setopt($ch, CURLOPT_URL, "https://api.octranspo1.com/v1.2/GetNextTripsForStop");
49
+        curl_setopt($ch, CURLOPT_URL, "https://api.octranspo1.com/v1.3/GetNextTripsForStop");
50 50
         curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
51 51
         curl_setopt($ch, CURLOPT_POST, true);
52 52
         curl_setopt($ch, CURLOPT_POSTFIELDS, $data);

Loading…
Cancel
Save