https://github.com/simonprickett/bartgoapi
Learning some Go by porting bartnodeapi to the language.
https://github.com/simonprickett/bartgoapi
api bart bart-api go golang swapper work-in-progress
Last synced: 2 months ago
JSON representation
Learning some Go by porting bartnodeapi to the language.
- Host: GitHub
- URL: https://github.com/simonprickett/bartgoapi
- Owner: simonprickett
- License: mit
- Created: 2018-04-18T15:59:08.000Z (about 7 years ago)
- Default Branch: develop
- Last Pushed: 2018-04-20T17:29:03.000Z (about 7 years ago)
- Last Synced: 2025-02-09T09:29:54.045Z (4 months ago)
- Topics: api, bart, bart-api, go, golang, swapper, work-in-progress
- Language: Go
- Homepage: https://simonprickett.dev/
- Size: 9.77 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# BART Go API
## Introduction
BART [provides an API](http://api.bart.gov/docs/overview/index.aspx) that works with XML, and more recently JSON. This was originally a project to provide JSON output when it wasn't available from BART (they added it later). It's now a project to provide "nicer" JSON output than that which comes from BART directly.
I originally wrote this in Node.js a while back and you can see the code for that [here](https://github.com/simonprickett/bartnodeapi). There's a running example of the Node code [here](http://bart.crudworks.org/api).
## Running Locally
TODO - how to get up and running with dep
TODO - environment variables?
TODO - Makefile
```
go run main.go
```## Dependencies
* [dep dependency manager](https://github.com/golang/dep)
* [Gin web framework](https://gin-gonic.github.io/gin/)
* [Cron library](https://github.com/robfig/cron)