moondef / Hacker News Api
Licence: mit
JavaScript wrapper for the official Hacker News API
Stars: ✭ 17
Programming Languages
javascript
184084 projects - #8 most used programming language
Labels
Projects that are alternatives of or similar to Hacker News Api
Owo.java
Read-only mirror of https://owo.codes/whats-this/owo.java
Stars: ✭ 6 (-64.71%)
Mutual labels: api
Apispec
A pluggable API specification generator. Currently supports the OpenAPI Specification (f.k.a. the Swagger specification)..
Stars: ✭ 831 (+4788.24%)
Mutual labels: api
Api Platform
Create REST and GraphQL APIs, scaffold Jamstack webapps, stream changes in real-time.
Stars: ✭ 7,144 (+41923.53%)
Mutual labels: api
Github Funding Yml Updater
Update multiple repositories's `.github/FUNDING.yml` via GitHub API
Stars: ✭ 17 (+0%)
Mutual labels: api
Pix Api
API Pix: a API do Arranjo de Pagamentos Instantâneos Brasileiro.
Stars: ✭ 832 (+4794.12%)
Mutual labels: api
Zato
ESB, SOA, REST, APIs and Cloud Integrations in Python
Stars: ✭ 889 (+5129.41%)
Mutual labels: api
Jso
Easy to use OAuth 2.0 javascript library for use in your javascript application.
Stars: ✭ 830 (+4782.35%)
Mutual labels: api
Pwnedornot
OSINT Tool for Finding Passwords of Compromised Email Addresses
Stars: ✭ 888 (+5123.53%)
Mutual labels: api
Blog
🤣本项目有不同开发版本,最新版底层基于 abp vNext 搭建和免费开源跨平台框架 .NET5 进行开发,使用 MongoDB 存储数据,Redis 缓存数据。项目采用前后端分离的模式进行开发,API 遵循 RESTful 接口规范,页面使用 Blazor 进行开发,可作为 .NET Core 入门项目进行学习。If you liked `Blog` project or if it helped you, please give a star ⭐️ for this repository. 👍👍👍
Stars: ✭ 827 (+4764.71%)
Mutual labels: api
Orbit Db Http Api
A HTTP API Server for the OrbitDB distributed peer-to-peer database
Stars: ✭ 17 (+0%)
Mutual labels: api
Go Api Boilerplate
Exemplo de API utilizando a linguagem Go e a biblioteca Gorilla Mux
Stars: ✭ 17 (+0%)
Mutual labels: api
Sparkling Water
Sparkling Water provides H2O functionality inside Spark cluster
Stars: ✭ 887 (+5117.65%)
Mutual labels: api
hacker-news-api
JavaScript wrapper for the official Hacker News API
Usage
$ npm install --save @moondef/hacker-news-api
or
$ yarn add @moondef/hacker-news-api
const hk = require('@moondef/hacker-news-api');
(async () => {
const popular = await hk.getPopular(); // you will get IDs of popular news
const newsItem = await hk.getItem(popular[0]);
console.log(newsItem);
})();
Methods
- getPopular() // Array
- getUser(nickname) // Object
- getItem(id) // Object
- getMaxItem() // Number
- getAskStories() // Array
- getShowStories() // Array
- getJobStories() // Array
- getUpdates() // Object
- getNewStories() // Array
- getTopStories() // Array
- getBestStories() // Array
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].