Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

appleslice

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

appleslice

  • 0.0.1
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

AppleSlice - Parse iTunes Connect emails

Create an instance of AppleSlice::Email with your email's HTML body and slice away!

require "appleslice"

email_body = "<!DOCTYPE HTML PUBLIC>..."

slice = AppleSlice::Email.new(email_body)

slice.review_status
# => :waiting_for_upload
slice.app_sku
# => "SKU_9000"
slice.app_version_number
# => "1.0.5"
slice.app_name
# => "Awesome App"
slice.app_apple_id
# => "98123921"
slice.itunes_url
# => http://itunes.apple.com/WebObjects/MZStore.woa/wa/viewSoftware?id=98123921&mt=8

Installation

Add this line to your application's Gemfile:

gem 'appleslice'

And then execute:

$ bundle

Or install it yourself as:

$ gem install appleslice

Usage

The zeroth step to using AppleSlice is to get Apple emails into your Ruby system - you could use an email service like Postmark or Sendgrid for that, or many other methods.

AppleSlice parses the following information for these types of emails:

Status Updates
  • #review_status
  • #app_sku
  • #app_version_number
  • #app_name
  • #app_apple_id
  • #itunes_url
Rejection
  • #review_status
  • #app_name
  • #app_apple_id
  • #itunes_url
  • #resolution_center_url
All Emails
  • #rejected?
  • #scheduled_maintenance?

Valid values for #review_status are:

  • :waiting_for_upload
  • :waiting_for_review
  • :in_review
  • :processing_for_app_store
  • :ready_for_sale
  • :developer_rejected
  • :developer_removed_from_sale

Contact

Clay Allsopp

License

AppleSlice is available under the MIT license. See the LICENSE file for more info.

FAQs

Package last updated on 28 May 2014

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc