Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Another source of CSVs #21

Open
jleclanche opened this issue Apr 26, 2020 · 2 comments
Open

Another source of CSVs #21

jleclanche opened this issue Apr 26, 2020 · 2 comments

Comments

@jleclanche
Copy link

Hi, thanks for your work on this repo!

I recently had to deal with MCCs from Python and decided to publish a python package for iso18245.

I got curious about pulling the data from first-party sources; I also needed range data, not just the list of MCCs, so I worked on generating new CSVs.

I grabbed the official ISO 18245 PDF, as well as the most recent Visa list, the USDA list, and even Stripe Issuing's list. I used Tabula to extract the data, and had to do some extra manual + scripted clean up (especially with Visa's PDF; the rest was pretty clean).

Wanted to share it here in case it's useful for someone:

Specifically, I needed to match cut text descriptions to the original MCCs:
image

It's a wonder why this was standardized on 4-digit codes at all if banking APIs are just going to use mangled english descriptions… but whatever. The python library itself exposes all that data. I've attached all the combined MCCs as JSON here if anyone needs them:

mccs.json

@greggles
Copy link
Owner

This is very cool! I'd be interested to make you a committer on this repo if you'd like to find a good way to merge in your work?

@jleclanche
Copy link
Author

Feel free to merge it in! But I'm afraid I'm not interested in being a committer on here, I've spent enough time on it as is :)

If you'd like to open up the repo a bit, I recommend the Code Shelter: https://www.codeshelter.co/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants