
Security News
Oxlint Introduces Type-Aware Linting Preview
Oxlint’s new preview brings type-aware linting powered by typescript-go, combining advanced TypeScript rules with native-speed performance.
Welcome to the last continuation of my Ruby-based assault on various online banking systems, much like my Lloyds TSB screen scraper.
However, this one doesn't rely on nasty screen-scraping. Instead, it uses the previous unknown internal API used by American Express for their "Amex UK" iPhone app. I suspect it works elsewhere, but I haven't tested.
This allows you to fetch the details of all the cards on your American Express login, as well as transactions on each card.
See CHANGELOG.md for a changelog.
The file example.rb
provides a very simple example of how the code works, but here's a step by step:
$ gem install amex
...
require 'rubygems'
require 'amex'
@username = "chuck_norris"
@password = "roundhousekick123"
Amex::Client
object, passing in the
username and password - this is used to perform the authentication required.client = Amex::Client.new(@username, @password)
account
method of the object you just made - it'll take a few seconds, and will return an Amex::CardAccount object. There'll only be one, since this
only supports one card at a time right now.accounts = client.accounts
my_account = accounts.first
puts my_account.product
puts my_account.type
puts my_account.transactions.inspect
You can view the full YARD documentation here.
Use this for what you will, as long as it isn't evil. If you make any changes or cool improvements, please let me know at tim+amex@tim-rogers.co.uk.
FAQs
Unknown package
We found that amex demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Oxlint’s new preview brings type-aware linting powered by typescript-go, combining advanced TypeScript rules with native-speed performance.
Security News
A new site reviews software projects to reveal if they’re truly FOSS, making complex licensing and distribution models easy to understand.
Security News
Astral unveils pyx, a Python-native package registry in beta, designed to speed installs, enhance security, and integrate deeply with uv.