Socket
Socket
Sign inDemoInstall

smug-shot

Package Overview
Dependencies
48
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    smug-shot

Module to interact with SmugMug 2.0


Version published
Weekly downloads
3
Maintainers
1
Install size
4.13 MB
Created
Weekly downloads
 

Readme

Source

SmugMug Logo

smug-shot

  • Unofficial NodeJS SDK for SmugMug
  • "Stunning Photo Websites. For You, Your Family, Or Your Business

Quick Start

Create the app:

$ mkdir newApp
$ cd newApp
$ npm init 

Install smug-shot as a dependency:

$ npm install --save smug-shot

Example Use

//index.js
var username = "" //Your SmugMug App Username
var apiKey = "" //Your SmugMug App API Key
var humble = require('smug-shot')({username: username, api_key: apiKey})

humble.albums.get()
.then(function(res){
	console.log('albums().get then()')
	console.log(res.Albums.length)
})
.catch(function(error){
	console.log("Caught the error")
	console.error(error);
});

Installation

$ npm install smug-shot --save

Features

  • Fast, easy configuration

Docs & Community

Goals

  • 100% Smug Mug End Point Coverage (Currently Much Less)

Dependencies

Examples

To view the examples, clone the

$ git clone git://github.com/jspenc72/smug-shot.git --depth 1
$ cd smug-shot
$ npm install

Then run whichever example you want:

$ node examples/example.js

Tests

To run the test suite, first install the dependencies, then run npm test:

$ npm install
$ npm test

People

The original author of SmugShot is @Jspenc72

License

MIT

Keywords

FAQs

Last updated on 17 Jan 2016

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc