Use navitia line_reports instead of non-working general-message
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
24b1102761
commit
030ec3004e
2 changed files with 83 additions and 96 deletions
|
|
@ -1,12 +1,21 @@
|
|||
package api
|
||||
|
||||
import (
|
||||
"flag"
|
||||
"fmt"
|
||||
"time"
|
||||
|
||||
"github.com/gin-gonic/gin"
|
||||
)
|
||||
|
||||
const IDFM2_BASEURL = "https://prim.iledefrance-mobilites.fr/marketplace"
|
||||
|
||||
var IDFM_TOKEN = ""
|
||||
|
||||
func init() {
|
||||
flag.StringVar(&IDFM_TOKEN, "token-idfm", IDFM_TOKEN, "Token to access IDFM API")
|
||||
}
|
||||
|
||||
type apiMetadata struct {
|
||||
Call string `json:"call"`
|
||||
Date time.Time `json:"date"`
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue