0.0.35 • Published 10 years ago

storify v0.0.35

Weekly downloads
123
License
-
Repository
github
Last release
10 years ago

node-storify

Usage

var Storify = require('storify');

var s = new Storify({ api_key: 'fd5dfs54f6d54sf' });

// should we implement this using callbacks ...

s.authenticate('cpetzold', 'test', function(user) {
  // user is a lib/User objects (with a _token property set for authorized calls)
});

s.getUser('cpetzold', function(user) {
  user.getStories(function(stories) {
    // stories is a lib/Collection of lib/Story objects
  });
});


// ... or promises?

var user = s.getUser('cpetzold'); // lib/User

var story = user.getStory('some-story'); // would be deferred until the user promise was fulfilled
0.0.35

10 years ago

0.0.34

10 years ago

0.0.33

10 years ago

0.0.32

10 years ago

0.0.31

10 years ago

0.0.30

11 years ago

0.0.29

11 years ago

0.0.28

11 years ago

0.0.27

11 years ago

0.0.26

11 years ago

0.0.25

11 years ago

0.0.23

11 years ago

0.0.22

11 years ago

0.0.21

12 years ago

0.0.20

12 years ago

0.0.19

12 years ago

0.0.18

12 years ago

0.0.17

12 years ago

0.0.16

12 years ago

0.0.15

12 years ago

0.0.14

12 years ago

0.0.6

12 years ago

0.0.5

12 years ago

0.0.4

12 years ago

0.0.13

12 years ago

0.0.12

12 years ago

0.0.11

12 years ago

0.0.10

13 years ago

0.0.9

13 years ago

0.0.8

13 years ago

0.0.7

13 years ago