An open API service indexing awesome lists of open source software.

https://github.com/piraces/tram-api

Go CLI app to fetch data from Zaragoza's Tram and write them to CSV
https://github.com/piraces/tram-api

Last synced: 7 months ago
JSON representation

Go CLI app to fetch data from Zaragoza's Tram and write them to CSV

Awesome Lists containing this project

README

          

# tram-cli project
Go CLI app to fetch data from Zaragoza's Tram and write them to CSV

# Usage

## Show help

```shell
go run ./cmd/tram-cli/main.go help
```

## Help of main command

```shell
go run ./cmd/tram-cli/main.go tram-stops help
```

## Tram stops status to csv

### To default output file
```shell
go run ./cmd/tram-cli/main.go tram-stops
```

### To custom output file
```shell
go run ./cmd/tram-cli/main.go tram-stops -o my_output.csv
```