1.0.2 • Published 7 years ago

fscchan-js v1.0.2

Weekly downloads
1
License
ISC
Repository
github
Last release
7 years ago

fscchan-js

What's this?

A Wrapper for fscchan Imageboard for node.js Projects since fscchan doesn't implement JSON Read only API like other imageboards :(

Requirements

  • node.js
  • npm (for installing this package depedencies)
  • Windows / OS X / Linux

Manual Installation

  1. Clone this repository
  2. npm install
  3. You're good to go, I Guess.

Functions

getCatalog(boards,callback(err,data))

Use this if you want to fetch thread catalog on a board, for example :

const fsc = require("fscchan-js");
const fscchan = new fsc();

fscchan.getCatalog('rj',function(err,data){
    if(!err){
        // do anything what you want here
    }
}

getArchive(boards,callback(err,data))

Use this if you want to fetch archived thread(s) on a board, for example :

const fsc = require("fscchan-js");
const fscchan = new fsc();

fscchan.getArchive('n',function(err,data){
    if(!err){
        // do anything what you want here
    }
}

getThread(boards,threadID,callback(err,data))

Use this if you want to get Thread data (including replies) from a board with described ID, for example :

const fsc = require("fscchan-js");
const fscchan = new fsc();

fscchan.getThread('gim','1793',function(err,data){
    if(!err){
            // do anything what you want here
    }
});
1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago