Coder Social home page Coder Social logo

apple-subscription-email-parser's Introduction

Apple Subscription Email Parser

Processes subscription confirmation emails from iTunes in order to a generate a renewal date reminder in case you wish to cancel before being charged.

How to use

  1. Just for now you need to download an email and save it as original_msg.txt, e.g.

email preview

  1. yarn

  2. Then when you run node index.js you should get something like

{
  subscription: 'VIP All Access Pass',
  app: 'The Piano Keyboard',
  img: 'https://is3-ssl.mzstatic.com/image/thumb/Purple124/v4/a1/1c/8f/a11c8f02-bea9-881a-8642-547957853f19/AppIcon-0-1x_U007emarketing-0-0-85-220-6.png/280x280bb-80.jpg',
  price: '£7.49/week',
  paymentMethod: 'MasterCard .... 1234',
  dateOfPurchase: '2018-12-28T00:00:00.000Z',
  cancelBy: '2019-01-03T00:00:00.000Z'
}

Next steps

  • Connect to GMail via OAuth in order to retreive a list of relevant emails
  • Either create Calendar reminders, or send an email to you the day before the subscription is due to be renewed/paid

apple-subscription-email-parser's People

Contributors

stasgga avatar johnrees avatar

Watchers

 avatar

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.