New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

tinyletter

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tinyletter

  • 0.0.7
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

Ruby gem that retrieves the metadata of a given tinyletter newsletter.

Installation

gem install tinyletter

Usage

require 'rubygems'
require 'tinyletter'

newsletter = Tinyletter::Newsletter.new('metafoundry')
puts newsletter.metadata 

That will output:

{
  :title => "Metafoundry",
  :by => "Deb Chachra",
  :description => "Ingredients include: technology, systems, design, language, social justice, and geography. Less than 0.1% cats by volume. Manufactured in a facility that contains personality, emotions and a worldview.", 
  :archive_url => "http://tinyletter.com/metafoundry/archive"
}
Requesting the newsletter archive
require 'rubygems'
require 'tinyletter'

newsletter = Tinyletter::Newsletter.new('vruba', { with_archive: true })
puts newsletter.metadata

If the newsletter has enabled its archives, that will output:

{
  :title => "6",
  :by => "Charlie Loyd",
  :description => "Notes on things I’m thinking about, most weekends. Strictly a personal project, representing my own views alone. Recurring themes include psychogeography, space shuttles, food, and complaining.", 
  :archive_url => "http://tinyletter.com/vruba/archive",
  :archive => [{
    :date => "2016-07-25",
    :title => "6, 84: Antennapedia",
    :url => "http://tinyletter.com/vruba/letters/6-84-antennapedia",
    :description => "Of course everyone is talking about the Martha Nussbaum profile in *The New Yorker*  (via @equartey"
  }, {
    :date => "2016-07-11",
    :title => "6, 83: Build a ray",
    :url => "http://tinyletter.com/vruba/letters/6-83-build-a-ray",
    :description => "Hi! I think it’s time to re-introduce myself. This is an irregular newsletter on mixed topics. It comes from wanting to stay in loose touch with more people than I can personally. What I put here is..."
  }]
}

License

This work is licensed under the MIT License (MIT) and it is not associated with TinyLetter in any way.

FAQs

Package last updated on 27 Feb 2019

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