Code Monkey home page Code Monkey logo

credit-card-sms-parser's Issues

승인과 취소 정보 돌려주기

결제가 취소됐을 때는 라이브러리가 취소된거라고 정보를 돌려줘야 가계부 같은 응용 프로그램에서도 쓰일 수 있다.

호출 인터페이스 변경.

처음에 기능이 잘 동작하는지 테스트하기 위해서 모듈로만 싸서 include 해서 쓰고 있는 방식으로 만들었는데, 좀 더 확장 가능하고 쓰기 좋은 방식으로 고칠 때가 된 것 같다.

KEB 하나 카드 파싱

[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발신]
신한카드승인 강혜(90*) 04/27 21:31 (일시불)39,500원 (주)페어몬트 누적688,800원

card property 안보이면 버그죠?

[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
}

테스트를 위한 웹 인터페이스 제공.

사용자들에게 쉽게 테스트할 수 있도록 웹으로 문자메시지를 넣어서 잘되는지 테스트해볼 수 있는 인터페이스를 제공해주면 더 입력값을 많이 얻을 수 있을 것 같다.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.