Golang bindings for the citibike API
Go Makefile
Switch branches/tags
Nothing to show
Clone or download
Latest commit 5191340 Nov 10, 2015
Permalink
Failed to load latest commit information.
Makefile initial package with tests Nov 9, 2015
README.md updated README Nov 9, 2015
citbike.go added tests + code Nov 9, 2015
citibike_test.go added tests + code Nov 9, 2015

README.md

Introduction

This package provides golang bindings to the Citibike API

Usage

Install golang

brew install golang

Install this package:

go get https://github.com/josephmisiti/go-citibike

Use it in a program like this:

package main

import(
    "fmt"
    "github.com/josephmisiti/go-citibike"
)

func main() {
    fmt.Println("------")
    API := new(citibike.API)
    stations, err := API.GetStations()
    if( err != nil ) {
        fmt.Println(err)
    }
    fmt.Println(stations)
}

Running the tests

make test