Next Perpendicular Moonlanding

    smug-shot

    1.0.6 • Public • Published

    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

    Install

    npm i smug-shot

    DownloadsWeekly Downloads

    15

    Version

    1.0.6

    License

    ISC

    Last publish

    Collaborators

    • jspenc72