
Security News
Axios Supply Chain Attack Reaches OpenAI macOS Signing Pipeline, Forces Certificate Rotation
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.
@flowereatfish/eslite-com-api
Advanced tools
非官方誠品網路書店 API
npm install @flowereatfish/eslite-com-api --save
yarn add @flowereatfish/eslite-com-api
const esliteComCollectionApi = require('@flowereatfish/eslite-com-api');
const run = async () => {
const results = await esliteComCollectionApi('橡皮擦計畫');
console.log(results);
};
run();
const esliteComCollectionApi = require('@flowereatfish/eslite-com-api');
esliteComCollectionApi('橡皮擦計畫')
.then(results => console.log(results));
# To download the files and install packages.
$ git clone https://github.com/FlowerEatFish/eslite-com-api.git
$ cd eslite-com-api
$ yarn install # npm install
# To run a demo.
$ yarn start # npm start
>>> You search data using keyword "春夏秋冬,日日食光。生活美學家的鑄鐵鍋料理手帖".
[
{
title: '春夏秋冬, 日日食光: 生活美學家的鑄鐵鍋料理手帖',
url: 'http://www.eslite.com/product.aspx?pgid=1001130572489683&kw=%e6%98%a5%e5%a4%8f%e7%a7%8b%e5%86%ac+%e6%97%a5%e6%97%a5%e9%a3%9f%e5%85%89+%e7%94%9f%e6%b4%bb%e7%be%8e%e5%ad%b8%e5%ae%b6%e7%9a%84%e9%91%84%e9%90%b5%e9%8d%8b%e6%96%99%e7%90%86%e6%89%8b%e5%b8%96&pi=1',
author: [ '渡邊有子著' ],
publisher: '臉譜出版社',
publicationDate: '2016/02/27',
imageUrl: 'http://pic.eslite.com/Upload/Product/201602/s/635912082484381250.jpg',
price: { discount: 9, currentPrice: 324 },
introduction: "'今天在廚房也要用心過生活—— 料理界的松浦彌太郎, 教你品味四季的本質, 追求食材的深層風味, 記憶節氣帶來的美好, * " +
'Instragm超過六萬粉絲追蹤的生活美學料理家——渡邊有子 崇尚自然、注重優雅品味的料理生活家渡邊有子, ' +
'在日本已分享了許多對於簡單生活的想法和實行秘訣, 尤其在飲食方面,更提出許多同時注重美味、美感和健康的料理,因此廣受大眾歡迎。 ' +
'在出版過許多料理食譜書後,她認為, 使'
}
]
>>> You search data using keyword "disease".
[ {...}, {...}, ... ] # Array.prototype.length <= 10
>>> You search data using keyword "blablablablablablablablablablablabla".
null
import EsliteComCollectionApi from 'eslite-com-collection-api'; // Here uses development mode as an example
const result = EsliteComCollectionApi(
keyword, // string. Necessary.
// If you set it as null, it will get an error.
page, // number. Positive integer. Default: 1.
// Every page only shows maximum 10 results.
)
// If you get one or more result(s), it will return an "array".
result = [
{
title: string or null,
author: string[] or null,
publisher: string or null,
publicationDate: string or null,
imageUrl: string or null,
introduction: string or null,
price: {
discount: number or null,
currentPrice: number or null,
},
url: string or null,
},
{ ... }, { ... }, ...
];
// If you have not got any result, it will return a "null".
result = null;
FAQs
Unofficial eslite-com API
We found that @flowereatfish/eslite-com-api demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
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.

Security News
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.

Security News
Open source is under attack because of how much value it creates. It has been the foundation of every major software innovation for the last three decades. This is not the time to walk away from it.

Security News
Socket CEO Feross Aboukhadijeh breaks down how North Korea hijacked Axios and what it means for the future of software supply chain security.