Last.fm API core: signatures, XML/JSON responses and dispatcher
- /2.0/ dispatcher backed by a method registry that declares each method's params and signature/session requirements - api_sig verification per the Last.fm auth spec - XML (default) and Last.fm-style JSON rendering, including error shapes and HTTP statuses per error code - Last.fm request, error and auth-failure metrics with bounded labels Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
ae8d3b65db
commit
9af8a4be8b
11 files changed
+585
No files matched your search
@@ -18,6 +18,10 @@ def create_app(config_object=None):
|
||||
migrate.init_app(app, db, directory=_migrations_dir())
|
||||
http_metrics.init_app(app)
|
||||
|
||||
from scrobbler.lastfm import bp as lastfm_bp
|
||||
|
||||
app.register_blueprint(lastfm_bp)
|
||||
|
||||
if app.config["START_METRICS_SERVER"]:
|
||||
from scrobbler.metrics.server import start_metrics_server
|
||||
|
||||
|
||||
Reference in new issue
Block a user