kakao / credit-card-sms-parser Goto Github PK
View Code? Open in Web Editor NEW[DEPRECATED] 신용카드 결제 문자 메시지를 파싱하여 응용 가능한 데이터 구조로 담아줍니다.
Home Page: https://rubygems.org/gems/credit-card-sms-parser
License: BSD 3-Clause "New" or "Revised" License
[DEPRECATED] 신용카드 결제 문자 메시지를 파싱하여 응용 가능한 데이터 구조로 담아줍니다.
Home Page: https://rubygems.org/gems/credit-card-sms-parser
License: BSD 3-Clause "New" or "Revised" License
[Web발신]
[현대카드]-승인
김재*님
699,200원(일시불)
BSP대한항공(₩)
누적:844,350원
[Web발신]
KB국민카드
김*호님
10/16 09:37
1.77(US$)
미국 GOOGLE * 승인
[Web발신]
김*호님
삼성법인6265
04/22 19:56
찌개애감동
16,000원
일시불
잔액
4,968,160원
사용자 입장에서 불필요하게 담겨 돌아가는 정보들도 있는데 이런 것들은 제거하고 돌려주는게 더 좋겠다.
[Web발신]
KEB하나 박우*님 7*5* 일시불 10,000원 롯데쇼핑( 04/18 18:49
[5] pry(main)> parse_sms("[Web발신]
[5] pry(main)* KEB하나 박우*님 7*5* 일시불 10,000원 롯데쇼핑( 04/18 18:49")
=> {:HEADER=>"[Web발신]", :SPACE=>" ", :SHOP=>"KEB하나", :USER_NAME=>"박우*님", :NUMBER=>nil, :TYPE=>nil, :MONEY=>10000, :WORD=>"롯데쇼핑(", :DATE=>"04/18", :TIME=>"18:49", :EOS=>nil}
[Web발신]
KB국민체크(6*3*)
***님
04/24 12:13
20,000원
효소원판교점 사용
사용
은 빼야함.
[Web발신]
KB국민체크(1_7_)
강*혜님
04/30 22:34
87,000원
이꾸 정자점 사용
[Web발신]
삼성카드승인전*정님
04/17 20:22
200,230원
일시불
코스트코코리아(
누적980,887원
{
"header": "[Web발신]",
"space": "\n",
"shop_name": "코스트코코리아",
"user_name": "*정님",
"date": "04/17",
"time": "20:22",
"money": 200230,
"type": null,
"punctuation": "(",
"money_total": 980887,
"EOS": null
}
[Web발신]
[현대카드]-승인
***님
3,400원(일시불)
SK플래닛판교마트
누적:612,900원
결제가 취소됐을 때는 라이브러리가 취소된거라고 정보를 돌려줘야 가계부 같은 응용 프로그램에서도 쓰일 수 있다.
[Web발신]
KB*카드
**님
05/29 20:52
320,000원
우리동물메디컬 취소
누적 560,060원
우리동물메디컬
로 매치되어야 하는데 우리동물메디컬 취소
로 매치됨.
처음에 기능이 잘 동작하는지 테스트하기 위해서 모듈로만 싸서 include 해서 쓰고 있는 방식으로 만들었는데, 좀 더 확장 가능하고 쓰기 좋은 방식으로 고칠 때가 된 것 같다.
[Web발신]
신한카드승인 강혜(90*) 04/27 21:31 (일시불)39,500원 (주)페어몬트 누적688,800원
[Web발신]
농협BC(4*8*)오*름님.
04/14 11:51.
일시불81,400원.
누적금액679,780원.
버거킹 판교유스페
사용자들에게 쉽게 테스트할 수 있도록 웹으로 문자메시지를 넣어서 잘되는지 테스트해볼 수 있는 인터페이스를 제공해주면 더 입력값을 많이 얻을 수 있을 것 같다.
[Web발신]
[KB]05/08 21:44
078501**554
365PLUS정자
체크카드출금
2,400
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.