Skip to content

dsymonds/opal

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is a Go package for accessing data about an Opal card.

GoDoc

It is not anything particularly useful for users (yet); it is currently intended for programmers to use as a building block.

To get it,

go get github.com/dsymonds/opal

You will need to put auth information in $HOME/.opal that looks like

{"Username":"xxx","Password":"yyy"}

Don't forget to chmod 600 $HOME/.opal. I plan to make it easier to pass to this package programmatically.

To do a quick test that will access your card information and print out its balance and recent transactions,

go test -v github.com/dsymonds/opal

About

Go package for accessing Opal card data

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages