asticode / go-astiratp

Clients for the RATP APIs
MIT License
2 stars 0 forks source link

Manual #1

Open sign0 opened 7 years ago

sign0 commented 7 years ago

Hi,

Could you give some details about your client for the RATP? I try for the first time the Go, but for now I can not start your cli.

See for example my cmd (on OS X Sierra):

go run asticode/go-astiratp/opendata/cmd/main.go -id '274_786_845' -logger-app-name '%myRATPId%' -ratp-client-retry-max 6 -ratp-client-retry-sleep 5s -v true (return blank)

What am I doing wrong?

Thank you for your help

asticode commented 4 years ago

Sorry for answering so late, I forgot to Watch this repo and didn't get any notification of your question.

You may not need an answer now, but I'll still provide one :

In order to use the CLI, you need to provide one of the following subcommands : geopoint, lines, stations or version (they can be found here).

For instance, if you want to know the version, your command line will be : go run asticode/go-astiratp/opendata/cmd/main.go version -id '274_786_845' -logger-app-name '%myRATPId%' -logger-verbose -ratp-client-retry-max 6 -ratp-client-retry-sleep 5s.

Does that answer your question?