Categorygithub.com/gcjensen/amex
modulepackage
0.0.0-20200920124611-0cd15b26bdc1
Repository: https://github.com/gcjensen/amex.git
Documentation: pkg.go.dev

# README

amex

Actions Status

A Go package for scraping details from an Amex account using chromedp. This library is a work in progress and its API should not be considered stable.

Please note that this package scrapes the info from the amex web app, so may break if amex make changes.

Installation

Install in the usual way:

go get https://github.com/gcjensen/amex

Usage

Refer to the GoDoc page for the documentation. Example usage can also be seen here.

# Packages

No description provided by the author

# Functions

NewContext creates a new amex context from the parent context and opens the connection to the amex web app.

# Structs

Amex represents the connection to the amex web app, exposing methods for retrieving information, and for closing the connection.
Overview represents high level info about the amex account, encapsulating available credit, statement balance and total balance.
Transaction represents a transaction on the amex account, encapsulating the the amount, date, description and ID.