mirror of
https://github.com/symfony/recipes-contrib.git
synced 2026-09-17 01:56:28 +03:00
Add Discogs Bundle recipe v4.0 (#1855)
* Add Discogs Bundle recipe v4.0 - Add recipe for calliostro/discogs-bundle v4.0 - Supports Personal Access Token and OAuth authentication - Includes configuration options with detailed comments - Symfony bundle for Discogs API integration * Fix YAML indentation to use 4 spaces
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
calliostro_discogs:
|
||||
# Recommended: Personal Access Token (get from https://www.discogs.com/settings/developers)
|
||||
# personal_access_token: '%env(DISCOGS_PERSONAL_ACCESS_TOKEN)%'
|
||||
|
||||
# Alternative: Consumer credentials for OAuth applications
|
||||
# Get from https://www.discogs.com/applications
|
||||
# consumer_key: '%env(DISCOGS_CONSUMER_KEY)%'
|
||||
# consumer_secret: '%env(DISCOGS_CONSUMER_SECRET)%'
|
||||
|
||||
# Optional: HTTP User-Agent header for API requests
|
||||
# Default: 'DiscogsClient/4.0.0 (+https://github.com/calliostro/php-discogs-api)'
|
||||
# user_agent: 'MyApp/1.0 +https://myapp.com'
|
||||
|
||||
# Optional: Rate limiting configuration (default values shown)
|
||||
# throttle:
|
||||
# enabled: true
|
||||
# microseconds: 1000000 # 1 second delay between requests
|
||||
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"bundles": {
|
||||
"Calliostro\\DiscogsBundle\\CalliostroDiscogsBundle": ["all"]
|
||||
},
|
||||
"copy-from-recipe": {
|
||||
"config/": "%CONFIG_DIR%/"
|
||||
},
|
||||
"env": {
|
||||
"#DISCOGS_PERSONAL_ACCESS_TOKEN": "",
|
||||
"#DISCOGS_CONSUMER_KEY": "",
|
||||
"#DISCOGS_CONSUMER_SECRET": ""
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user