{"adoption": {"forks": 241, "observed_at": "2026-08-28T04:08:09.669152+00:00", "stars": 3555}, "canonical_url": "https://ross.abutalabs.com/products/toapi", "card": {"archived": false, "artifact_type": "library", "description": "Every web site provides APIs.", "domain": ["web-development", "crawlers", "apis", "developer-tools"], "enriched": true, "function": ["web-scraping", "api-framework", "http-server", "caching", "parser", "routing"], "health_score": 78, "homepage": "https://elliotgao2.github.io/toapi/", "language": "Python", "license": "MIT", "license_family": "permissive", "maturity": "active", "member_repos": ["elliotgao2/toapi"], "name": "elliotgao2/toapi", "platform": ["python", "cli"], "pushed_at": "2026-08-09T07:26:44+00:00", "repo": "elliotgao2/toapi", "stars": 3555, "tags": ["scraping-to-api", "css-selectors", "declarative-scraping", "flask", "json-api", "html-parsing", "automation", "web-server"], "topics": ["html", "json", "api", "python", "web", "spider", "crawler", "flask", "toapi"], "urls": [], "use_cases": ["turn any website into a json api", "scrape a website and serve results as rest endpoints", "build an api for a site without a database or crawler", "extract structured data from html pages with css selectors", "proxy a website's pages as clean json endpoints", "cache scraped pages and serve them on demand"], "what_it_is": "A Python library that turns any website into a JSON API by declaring fields with CSS/XPath selectors. It fetches and parses pages on demand, caches results, and serves the data via a built-in Flask server.", "when_to_avoid": ["you need large-scale distributed crawling or persistent data storage pipelines", "the target site requires heavy JavaScript rendering beyond simple headless-browser support", "you need authenticated or session-based scraping with complex workflows"], "when_to_choose": ["you want a declarative, selector-based way to expose website data as JSON", "you need a lightweight scraping API server without managing a database or scheduled crawls", "you want built-in caching so repeated requests don't re-fetch source pages"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/toapi", "repo": "elliotgao2/toapi", "role": "main", "score": 75}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:08:09.669152+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-29T18:34:17.106016+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "1426a6ce5eb620285e925e94c1eb33ba32768ffa7bcba240f3129b04c0bed51b", "fetched_at": "2026-08-28T04:08:09.669152+00:00", "kind": "readme", "missing": false, "url": "https://github.com/elliotgao2/toapi"}, {"content_hash": "72b43bab33c1e6d7a404471d722e35f11b223cff92610cac46fe1ca671730025", "fetched_at": "2026-08-29T09:28:05.313246+00:00", "kind": "homepage", "missing": false, "url": "https://elliotgao2.github.io/toapi/"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:08:09.669152+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-29T18:34:17.106016+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "1426a6ce5eb620285e925e94c1eb33ba32768ffa7bcba240f3129b04c0bed51b", "fetched_at": "2026-08-28T04:08:09.669152+00:00", "kind": "readme", "missing": false, "url": "https://github.com/elliotgao2/toapi"}, {"content_hash": "72b43bab33c1e6d7a404471d722e35f11b223cff92610cac46fe1ca671730025", "fetched_at": "2026-08-29T09:28:05.313246+00:00", "kind": "homepage", "missing": false, "url": "https://elliotgao2.github.io/toapi/"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-29T18:34:17.106016+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "1426a6ce5eb620285e925e94c1eb33ba32768ffa7bcba240f3129b04c0bed51b", "fetched_at": "2026-08-28T04:08:09.669152+00:00", "kind": "readme", "missing": false, "url": "https://github.com/elliotgao2/toapi"}, {"content_hash": "72b43bab33c1e6d7a404471d722e35f11b223cff92610cac46fe1ca671730025", "fetched_at": "2026-08-29T09:28:05.313246+00:00", "kind": "homepage", "missing": false, "url": "https://elliotgao2.github.io/toapi/"}], "taxonomy_version": 1}, "health_score": {"inputs": ["days_since_push", "days_since_release", "archived"], "kind": "computed", "method": "health_v1"}, "homepage": {"kind": "observed", "observed_at": "2026-08-28T04:08:09.669152+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:08:09.669152+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:08:09.669152+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-29T18:34:17.106016+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "1426a6ce5eb620285e925e94c1eb33ba32768ffa7bcba240f3129b04c0bed51b", "fetched_at": "2026-08-28T04:08:09.669152+00:00", "kind": "readme", "missing": false, "url": "https://github.com/elliotgao2/toapi"}, {"content_hash": "72b43bab33c1e6d7a404471d722e35f11b223cff92610cac46fe1ca671730025", "fetched_at": "2026-08-29T09:28:05.313246+00:00", "kind": "homepage", "missing": false, "url": "https://elliotgao2.github.io/toapi/"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:08:09.669152+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:08:09.669152+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-29T18:34:17.106016+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "1426a6ce5eb620285e925e94c1eb33ba32768ffa7bcba240f3129b04c0bed51b", "fetched_at": "2026-08-28T04:08:09.669152+00:00", "kind": "readme", "missing": false, "url": "https://github.com/elliotgao2/toapi"}, {"content_hash": "72b43bab33c1e6d7a404471d722e35f11b223cff92610cac46fe1ca671730025", "fetched_at": "2026-08-29T09:28:05.313246+00:00", "kind": "homepage", "missing": false, "url": "https://elliotgao2.github.io/toapi/"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:08:09.669152+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:08:09.669152+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:08:09.669152+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-29T18:34:17.106016+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "1426a6ce5eb620285e925e94c1eb33ba32768ffa7bcba240f3129b04c0bed51b", "fetched_at": "2026-08-28T04:08:09.669152+00:00", "kind": "readme", "missing": false, "url": "https://github.com/elliotgao2/toapi"}, {"content_hash": "72b43bab33c1e6d7a404471d722e35f11b223cff92610cac46fe1ca671730025", "fetched_at": "2026-08-29T09:28:05.313246+00:00", "kind": "homepage", "missing": false, "url": "https://elliotgao2.github.io/toapi/"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:08:09.669152+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:08:09.669152+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-29T18:34:17.106016+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "1426a6ce5eb620285e925e94c1eb33ba32768ffa7bcba240f3129b04c0bed51b", "fetched_at": "2026-08-28T04:08:09.669152+00:00", "kind": "readme", "missing": false, "url": "https://github.com/elliotgao2/toapi"}, {"content_hash": "72b43bab33c1e6d7a404471d722e35f11b223cff92610cac46fe1ca671730025", "fetched_at": "2026-08-29T09:28:05.313246+00:00", "kind": "homepage", "missing": false, "url": "https://elliotgao2.github.io/toapi/"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-29T18:34:17.106016+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "1426a6ce5eb620285e925e94c1eb33ba32768ffa7bcba240f3129b04c0bed51b", "fetched_at": "2026-08-28T04:08:09.669152+00:00", "kind": "readme", "missing": false, "url": "https://github.com/elliotgao2/toapi"}, {"content_hash": "72b43bab33c1e6d7a404471d722e35f11b223cff92610cac46fe1ca671730025", "fetched_at": "2026-08-29T09:28:05.313246+00:00", "kind": "homepage", "missing": false, "url": "https://elliotgao2.github.io/toapi/"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-29T18:34:17.106016+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "1426a6ce5eb620285e925e94c1eb33ba32768ffa7bcba240f3129b04c0bed51b", "fetched_at": "2026-08-28T04:08:09.669152+00:00", "kind": "readme", "missing": false, "url": "https://github.com/elliotgao2/toapi"}, {"content_hash": "72b43bab33c1e6d7a404471d722e35f11b223cff92610cac46fe1ca671730025", "fetched_at": "2026-08-29T09:28:05.313246+00:00", "kind": "homepage", "missing": false, "url": "https://elliotgao2.github.io/toapi/"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-29T18:34:17.106016+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "1426a6ce5eb620285e925e94c1eb33ba32768ffa7bcba240f3129b04c0bed51b", "fetched_at": "2026-08-28T04:08:09.669152+00:00", "kind": "readme", "missing": false, "url": "https://github.com/elliotgao2/toapi"}, {"content_hash": "72b43bab33c1e6d7a404471d722e35f11b223cff92610cac46fe1ca671730025", "fetched_at": "2026-08-29T09:28:05.313246+00:00", "kind": "homepage", "missing": false, "url": "https://elliotgao2.github.io/toapi/"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 96, "longevity": 100, "rhythm": 35}, "computed_at": "2026-09-02T17:46:02.011165+00:00", "flags": ["no_releases"], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 3201, "days_push": 24, "days_rel": null, "gap_med": null, "n_releases_24m": 0}, "score": 75, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}