MCPcopy Create free account
hub / github.com/internetarchive/openlibrary / GET

Method GET

openlibrary/plugins/admin/code.py:466–468  ·  view source on GitHub ↗
(self, today)

Source from the content-addressed store, hash-verified

464
465class stats:
466 def GET(self, today):
467 json = web.ctx.site._conn.request(web.ctx.site.name, "/get", "GET", {"key": "/admin/stats/" + today})
468 return delegate.RawText(json)
469
470 def POST(self, today):
471 """Update stats for today."""

Callers

nothing calls this directly

Calls 1

requestMethod · 0.45

Tested by

no test coverage detected