@@ -95,60 +95,6 @@ The Express server exposes three endpoints:
9595
9696---
9797
98- ## Comic Vine API Integration
99-
100- The project includes Comic Vine API integration for extracting character, series, and publisher keywords to enhance comic detection.
101-
102- ### One-Time Keyword Extraction
103-
104- Extract high-value keywords from Comic Vine's database:
105-
106- ``` bash
107- # Set up Comic Vine API key
108- echo " COMIC_VINE_API_KEY=your_api_key_here" >> .env
109-
110- # Full extraction (respects rate limits)
111- node extract-comic-vine-keywords.js
112-
113- # Testing modes (no duplicate API calls)
114- node extract-comic-vine-keywords.js --test characters --limit 10
115- node extract-comic-vine-keywords.js --dry-run
116- node extract-comic-vine-keywords.js --cache-only
117-
118- # Show all options
119- node extract-comic-vine-keywords.js --help
120- ```
121-
122- ** Features:**
123-
124- - ** Automatic caching** - Stores responses to avoid duplicate API calls
125- - ** Rate limit compliance** - 20-second delays between requests (200/hour limit)
126- - ** Testing modes** - Dry run, cache-only, endpoint testing
127- - ** ES module output** - Generates ` comic-vine-keywords.js ` for integration
128-
129- ### VS Code Copilot Customizations
130-
131- The project includes specialized Copilot customizations for Comic Vine API development:
132-
133- ** 🤖 Comic Vine API Agent** (` @comic-vine-api ` )
134-
135- - Expert guidance on Comic Vine endpoints, rate limits, authentication
136- - Project-aware responses using existing code patterns
137- - Usage: ` @comic-vine-api How do I search for characters by popularity? `
138-
139- ** ⚙️ Automatic API Patterns**
140-
141- - Auto-applied to any file matching ` *{api,vine,comic}*.{js,ts,mjs} `
142- - Enforces rate limiting, error handling, authentication patterns
143-
144- ** 🧪 API Testing Prompt** (` /test-comic-vine-api ` )
145-
146- - Generates test scripts for any Comic Vine endpoint
147- - Includes proper rate limiting and error handling
148- - Usage: ` /test-comic-vine-api ` → specify endpoint and parameters
149-
150- ---
151-
15298Edit ` SCORE_THRESHOLD ` in ` lib/config.js ` :
15399
154100| Threshold | What you get |
@@ -164,13 +110,6 @@ To add content keywords, edit the `KEYWORDS` array in `lib/keywords.js`:
164110[" your keyword" , pointValue],
165111```
166112
167- ** Comic Vine Integration** : Import extracted keywords from Comic Vine extraction:
168-
169- ``` js
170- import { COMIC_VINE_KEYWORDS } from " ./comic-vine-keywords.js" ;
171- // Merge high-value keywords into main KEYWORDS array
172- ```
173-
174113To add location keywords (South/Central NJ area), edit ` LOCATION_KEYWORDS ` in ` lib/config.js ` .
175114
176115---
@@ -217,18 +156,3 @@ npm run build
217156- eBay flip value — price lookup on local posts once API key arrives
218157- Facebook Marketplace — Playwright scraper, geo-targeted listings
219158- Buy Nothing — Facebook Buy Nothing group scraper (same session as Marketplace)
220-
221- ---
222-
223- ## VS Code Development
224-
225- This project includes custom VS Code Copilot configurations:
226-
227- | File | Purpose |
228- | ------------------------------------------------ | ---------------------------------------------- |
229- | ` .github/agents/comic-vine-api.agent.md ` | Comic Vine API specialist agent |
230- | ` .github/copilot-instructions.md ` | Workspace-wide Comic Vine rate limit awareness |
231- | ` .github/instructions/api-files.instructions.md ` | Auto-applied patterns for API files |
232- | ` .github/prompts/test-comic-vine-api.prompt.md ` | API testing prompt |
233-
234- Use ` @comic-vine-api ` for Comic Vine API questions or ` /test-comic-vine-api ` to generate test scripts.
0 commit comments