批量拉取数据

Open
#21 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
25/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Stale
Tech stack
typescript
Domain
analytics, api, backend

Research direction

Start by reviewing the existing request to events.vercount.one and the offline Astro use case covering 12 pages. Determine whether a single request can cover all URLs under one domain and clarify the stability and API-contract questions. Done means a maintainer decision or a documented batch API design.

Written by the indexing model from the issue text.

Description

enhancement

我的网站不需要显示实时浏览量,所以我考虑每天定时离线构建页面。我使用astro构建纯静态页面。根据我从我朋友网站看到的post请求,脚本会访问events.vercount.one。如果我离线构建页面,也应该会发同样的post请求。我的网站目前一共只有12个页面。

  1. 我这样做可能算是访问未暴露的API,正在考虑接口的稳定性。
  2. 如果可以的话,我希望能有一个api单次请求获取我domain(12个链接)的所有浏览量计数器。
  3. 此issue用于讨论可行性。如果不合适,我可能改变我的方案。
Dominant language
TypeScript
Stars
287
Forks
24
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from evannotfound/vercount

All issues in evannotfound/vercount

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.