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

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.

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)