Comments (4)
搜索的接口限制特殊些: 非验证用户 每分钟 10 个请求,并且与其他接口分开计算的。
https://developer.github.com/v3/search/#rate-limit
搜索的额度用完了很快(一分钟)就会恢复,而且不会影响到 Repositories 这边的使用。
from vue-ghpages-blog.
搜索功能有没有考虑过用 https://developer.github.com/v3/search/#search-code 这个接口实现?
可以做到标题和全文搜索。
from vue-ghpages-blog.
@zowiegong 有道理耶!
但是有点担心,每次都调用接口查询,很快就会消耗完 GitHub API 每小时 60 次的次数限制。有什么思路吗?
https://developer.github.com/v3/#rate-limiting
from vue-ghpages-blog.
赞啊!有兴趣来个 PR 吗?
from vue-ghpages-blog.
Related Issues (17)
- TODO HOT 14
- Vue Devtools tips may appear in Edge
- Travis-CI encryption-keys security issue
- 可以直接在hexo上运行吗? HOT 2
- SEO 问题 HOT 6
- 为何网站不显示内容? HOT 3
- 完善搜索
- 请问不绑定CNAME可以访问吗 HOT 3
- 关于服务器端渲染markdown HOT 5
- pagination? HOT 1
- ... HOT 4
- Refactor with @vue/cli 3.x HOT 1
- 详细页标题错误 HOT 1
- Screenshots HOT 1
- Index html not in root path HOT 6
- history mode for using anchors and TOC HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vue-ghpages-blog.