-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
32 lines (24 loc) · 943 Bytes
/
.env.example
File metadata and controls
32 lines (24 loc) · 943 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# WorldCat Metadata API Configuration
# Copy this file to .env and fill in your actual credentials
# OCLC API Credentials
# Get these from: https://www.oclc.org/developer/api/oclc-apis/worldcat-metadata-api.en.html
OCLC_API_KEY=your_api_key_here
OCLC_API_SECRET=your_api_secret_here
# OCLC OAuth Token URL
# Default: https://oauth.oclc.org/token
OCLC_OAUTH_TOKEN_URL=https://oauth.oclc.org/token
# WorldCat Metadata API Base URL
# Default: https://metadata.api.oclc.org
OCLC_API_BASE_URL=https://metadata.api.oclc.org
# API Request Settings
# Request timeout in seconds (default: 30)
API_TIMEOUT=30
# Rate limiting delay in seconds between requests (default: 0.5)
API_RATE_LIMIT_DELAY=0.5
# Logging Configuration
# Log level: DEBUG, INFO, WARNING, ERROR (default: INFO)
LOG_LEVEL=INFO
# Log file path (default: oclc_matcher.log)
LOG_FILE=oclc_matcher.log
# Enable detailed API request/response logging (default: true)
API_LOGGING=true