tapazz
v1.0.1
Published
This is a spider for Tap.az written in Node.
Downloads
6
Readme
Tap.az Spider
This is a spider for Tap.az written in Node.
Install
npm install tapazz --save
Features
- Get Shop List
- Get Shop
- Get Category List
- Get Category
- Get Item Detail
Usage
Get Shop List
var tapaz = require('tapazz');
tapaz.Shop.all().then(function(shops) {
console.log(shops)
});
Get Shop
var tapaz = require('tapazz');
tapaz.Shop.get(url).then(function(shop) {
console.log(shop)
});
Get Category List
var tapaz = require('tapazz');
tapaz.Category.all().then(function(categories) {
console.log(categories)
});
Get Category
var tapaz = require('tapazz');
tapaz.Category.get(url).then(function(category) {
console.log(category)
});
Get Good Detail
var tapaz = require('tapazz');
tapaz.Detail(url).then(function (detail) {
console.log(detail);
});