All Projects → syaning → Zhihu Api

syaning / Zhihu Api

Licence: mit
Unofficial API for zhihu.

Programming Languages

javascript
184084 projects - #8 most used programming language

Labels

Projects that are alternatives of or similar to Zhihu Api

userscripts
My user scripts
Stars: ✭ 17 (-93.68%)
Mutual labels:  zhihu
zhihu-crawler
徒手实现定时爬取知乎,从中发掘有价值的信息,并可视化爬取的数据作网页展示。
Stars: ✭ 56 (-79.18%)
Mutual labels:  zhihu
XiaoxiaZhihuWeex
XiaoxiaZhihu(zhihu daily) client written by Weex.
Stars: ✭ 15 (-94.42%)
Mutual labels:  zhihu
puppeteer-usage
基于puppeteer的实践和应用
Stars: ✭ 18 (-93.31%)
Mutual labels:  zhihu
zhihu
我的知乎内容
Stars: ✭ 42 (-84.39%)
Mutual labels:  zhihu
stats-cards
在 README 中展示你在知乎,GitHub,B 站,LeetCode,掘金,CSDN,牛客等网站的数据,服务部署在 Vercel 上,保证服务稳定。Show your LeetCode & GitHub stats in GitHub Profile.
Stars: ✭ 74 (-72.49%)
Mutual labels:  zhihu
Awesome crawl
腾讯新闻、知乎话题、微博粉丝,Tumblr爬虫、斗鱼弹幕、妹子图爬虫、分布式设计等
Stars: ✭ 246 (-8.55%)
Mutual labels:  zhihu
Simplified-Zhihu-Daily
Android app for Zhihu Daily
Stars: ✭ 16 (-94.05%)
Mutual labels:  zhihu
eve
👻 everyday explore, Github / HackNews / V2EX / Medium / Product Hunt.
Stars: ✭ 13 (-95.17%)
Mutual labels:  zhihu
XiaoxiaZhihu AAC
使用Android Architecture Components实现的一个简单知乎日报程序
Stars: ✭ 63 (-76.58%)
Mutual labels:  zhihu
ncovis-2020
covid-19 舆论和新闻的可视化平台,获得了中国计算机学会、阿里云和机器之心等举办的疫情可视化比赛铜奖。🔥
Stars: ✭ 37 (-86.25%)
Mutual labels:  zhihu
ZhihuMagnifier
Chrome扩展:知乎头像放大器
Stars: ✭ 31 (-88.48%)
Mutual labels:  zhihu
KotlinEnjoyLife
😉【乐享】Kotlin 版本 每天一张精选妹纸图、一个精选短视频,知乎美文的精美应用
Stars: ✭ 73 (-72.86%)
Mutual labels:  zhihu
mpvue-wechat-zhihu
一个入门级别的资讯类微信小程序
Stars: ✭ 25 (-90.71%)
Mutual labels:  zhihu
zhihu-recover
对知乎已经删除/可能删除的问题备份
Stars: ✭ 15 (-94.42%)
Mutual labels:  zhihu
Alfred Web Search Suggest
Alfred search suggest workflow for various popular websites.
Stars: ✭ 249 (-7.43%)
Mutual labels:  zhihu
zh-downloader
一个可以直接下载知乎视频的浏览器插件
Stars: ✭ 54 (-79.93%)
Mutual labels:  zhihu
Boring
Android毕业设计; Android, Music Player, for graduation
Stars: ✭ 259 (-3.72%)
Mutual labels:  zhihu
zhihu Backup
知乎个人回答备份,获取html并打印到pdf
Stars: ✭ 41 (-84.76%)
Mutual labels:  zhihu
zhihu
搜索你的知乎收藏:可以直观地浏览你的所有收藏夹的内容,并进行全文搜索
Stars: ✭ 39 (-85.5%)
Mutual labels:  zhihu

zhihu API

node npm npm Travis

UNOFFICIAL API for zhihu.

This projects implements only basic data interfaces, meaning that you should implement your own logical code (by using this project) if you want a crawler/spider.

See doc.

Install

$ npm install zhihu-api

Quick Start

const fs = require('fs')
const api = require('zhihu-api')()

// cookie must be set before any request
api.cookie(fs.readFileSync('./cookie'))

api.user('zhihuadmin')
    .profile()
    .then(console.log)
    .catch(console.trace)

which outputs:

{
    "id": "3d198a56310c02c4a83efb9f4a4c027e",
    "name": "知乎小管家",
    "type": "people",
    "userType": "people",
    "urlToken": "zhihuadmin",
    "gender": 0,
    "messageThreadToken": "6479654600",
    "avatarUrl": "https://pic3.zhimg.com/34bf96bf5584ac4b5264bd7ed4fdbc5a_is.jpg",
    "coverUrl": "",
    "headline": "欢迎反馈问题和建议!",
    "description": "",
    "isBindSina": true,
    "showSinaWeibo": true,
    "sinaWeiboUrl": "http://weibo.com/u/5192295756",
    "badge": [{
        "type": "identity",
        "description": "知乎官方帐号"
    }],
    "followerCount": 47741,
    "followingCount": 4,
    "questionCount": 7,
    "answerCount": 49,
    "articlesCount": 26,
    "markedAnswersCount": 0,
    "markedAnswersText": "",
    "followingTopicCount": 8,
    "followingQuestionCount": 90,
    "followingColumnsCount": 0,
    "followingFavlistsCount": 0,
    "favoriteCount": 0,
    "favoritedCount": 3711,
    "thankedCount": 3871,
    "hostedLiveCount": 0,
    "participatedLiveCount": 0,
    "logsCount": 84,
    "voteupCount": 77180,
    "accountStatus": [],
    "isForceRenamed": false,
    "isActive": 1,
    "business": {
        "id": "19550517",
        "type": "topic",
        "name": "互联网"
    },
    "locations": [{
        "id": "19550828",
        "type": "topic",
        "name": "北京"
    }],
    "educations": [],
    "employments": [{
        "company": {
            "id": "19550228",
            "type": "topic",
            "name": "知乎"
        },
        "job": {
            "id": "19625808",
            "type": "topic",
            "name": "社区管理"
        }
    }]
}

License

MIT

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].