mirror of
https://github.com/symfony/recipes-contrib.git
synced 2026-09-12 07:36:34 +03:00
47 lines
2.0 KiB
JSON
47 lines
2.0 KiB
JSON
{
|
|
"manifests": {
|
|
"calliostro/last-fm-client-bundle": {
|
|
"manifest": {
|
|
"bundles": {
|
|
"Calliostro\\LastfmBundle\\CalliostroLastfmBundle": [
|
|
"all"
|
|
]
|
|
},
|
|
"copy-from-recipe": {
|
|
"config/": "%CONFIG_DIR%/"
|
|
},
|
|
"env": {
|
|
"LASTFM_API_KEY": "",
|
|
"LASTFM_SECRET": "",
|
|
"#LASTFM_SESSION": ""
|
|
}
|
|
},
|
|
"files": {
|
|
"config/packages/calliostro_lastfm.yaml": {
|
|
"contents": [
|
|
"calliostro_lastfm:",
|
|
" # Required: API Key for all practical operations (get from https://www.last.fm/api/account/create)",
|
|
" api_key: '%env(LASTFM_API_KEY)%'",
|
|
"",
|
|
" # Required for authenticated operations: API Secret",
|
|
" api_secret: '%env(LASTFM_SECRET)%'",
|
|
"",
|
|
" # Optional: Session key for scrobbling and user operations",
|
|
" # Get this via Last.fm OAuth flow or use a pre-generated session key",
|
|
" # session_key: '%env(LASTFM_SESSION_KEY)%'",
|
|
"",
|
|
" # Optional: HTTP User-Agent header for API requests",
|
|
" # user_agent: 'MyApp/1.0 +https://myapp.com'",
|
|
"",
|
|
" # Optional: Professional rate limiting (requires symfony/rate-limiter)",
|
|
" # rate_limiter: lastfm_api # Your configured RateLimiterFactory service",
|
|
""
|
|
],
|
|
"executable": false
|
|
}
|
|
},
|
|
"ref": "0590dbf464b82b2b28586dd1a86aa5865ee3096d"
|
|
}
|
|
}
|
|
}
|