{"_id":"@apiverve/fillintheblanks","_rev":"4-e67f43acbaf78f02eb06c853fc08bde2","name":"@apiverve/fillintheblanks","dist-tags":{"latest":"1.2.0"},"versions":{"1.1.12":{"name":"@apiverve/fillintheblanks","version":"1.1.12","keywords":["fill in the blank","cloze test","completion puzzle","vocabulary quiz","idioms"],"author":{"url":"http://apiverve.com/","name":"APIVerve","email":"hello@apiverve.com"},"license":"MIT","_id":"@apiverve/fillintheblanks@1.1.12","maintainers":[{"name":"charifield","email":"charifield@gmail.com"},{"name":"apivervehq","email":"hello@apiverve.com"}],"homepage":"https://apiverve.com/marketplace/fillintheblanks?utm_source=npm","bugs":{"url":"https://github.com/apiverve/fillintheblanks-api/issues"},"dist":{"shasum":"3f3586bae70e60152d9e36109105757cb5ca46a7","tarball":"https://registry.npmjs.org/@apiverve/fillintheblanks/-/fillintheblanks-1.1.12.tgz","fileCount":7,"integrity":"sha512-U+oBJgYe4RSZaZWeZW78JZY8v2vAdgh7e4rwy8NUDEU5CwgZRqQGhwN0kNS18Ebjdd066eZiP/g3rjvukXmTYg==","signatures":[{"sig":"MEUCIQDpqPzYpDq3Ow+5w8SxsH4BYMakF/Al2bkcsRr+c2XaJAIgKlrqDubxQLzqo/1WmMi3NLDRWpIAn3JfXExGXnw2g3M=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":15957},"main":"index.js","types":"index.d.ts","gitHead":"9d8e77b9fc6545198b9b9f57ce739a87b73ef06c","scripts":{"test":"mocha","example":"node examples/basic.js"},"_npmUser":{"name":"apivervehq","email":"hello@apiverve.com"},"repository":{"url":"git+https://github.com/apiverve/fillintheblanks-api.git","type":"git","directory":"npm"},"_npmVersion":"10.9.3","description":"Fill in the Blanks Generator creates completion puzzles from idioms, proverbs, quotes, science facts, and geography trivia.","directories":{},"_nodeVersion":"20.13.1","dependencies":{"axios":"1.13.2","promise":"^8.3.0","node-fetch":"^3.3.2"},"_hasShrinkwrap":false,"devDependencies":{"chai":"^5.1.2","mocha":"^11.0.1","dotenv":"^16.4.7"},"_npmOperationalInternal":{"tmp":"tmp/fillintheblanks_1.1.12_1765260630121_0.6761046341174795","host":"s3://npm-registry-packages-npm-production"}},"1.1.13":{"name":"@apiverve/fillintheblanks","version":"1.1.13","keywords":[],"author":{"url":"https://apiverve.com","name":"APIVerve","email":"hello@apiverve.com"},"license":"MIT","_id":"@apiverve/fillintheblanks@1.1.13","maintainers":[{"name":"charifield","email":"charifield@gmail.com"},{"name":"apivervehq","email":"hello@apiverve.com"}],"homepage":"https://apiverve.com/marketplace/fillintheblanks?utm_source=npm&utm_medium=homepage","bugs":{"url":"https://github.com/apiverve/fillintheblanks-api/issues"},"dist":{"shasum":"dad7ace1a1f63d9835640d55a0f1f85ae1cd6f6d","tarball":"https://registry.npmjs.org/@apiverve/fillintheblanks/-/fillintheblanks-1.1.13.tgz","fileCount":5,"integrity":"sha512-fG1tgkW25ZcJauf+zGL8zAcTONOdSLzJgy2KnTlgTjWWOgT1ZGPHBKFPI61i/RowVJL2rawf5/2289WFzLBvtw==","signatures":[{"sig":"MEUCIQCt8qHfsU2JF2p3WlBqz/LNAxpplxnYOLcpOYPxY0Pu+QIgdtU/Y9RD3mNBbwTf8Dvp82umBbtza/VQYnbNIcRY3io=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":19667},"main":"index.js","types":"index.d.ts","engines":{"node":">=14.0.0"},"gitHead":"603be281ba20b71024115a78fa6ae64907e245cc","scripts":{"test":"mocha","example":"node examples/basic.js"},"_npmUser":{"name":"charifield","email":"charifield@gmail.com"},"repository":{"url":"git+https://github.com/apiverve/fillintheblanks-api.git","type":"git","directory":"npm"},"_npmVersion":"10.9.3","description":"Fill in the Blanks Generator creates completion puzzles from idioms, proverbs, quotes, science facts, and geography trivia.","directories":{},"sideEffects":false,"_nodeVersion":"22.22.0","dependencies":{"axios":"1.13.2","promise":"^8.3.0","node-fetch":"^3.3.2"},"_hasShrinkwrap":false,"devDependencies":{"chai":"^5.1.2","mocha":"^11.0.1","dotenv":"^16.4.7"},"_npmOperationalInternal":{"tmp":"tmp/fillintheblanks_1.1.13_1771044969317_0.5905431809893893","host":"s3://npm-registry-packages-npm-production"}},"1.1.14":{"name":"@apiverve/fillintheblanks","version":"1.1.14","keywords":[],"author":{"url":"https://apiverve.com","name":"APIVerve","email":"hello@apiverve.com"},"license":"MIT","_id":"@apiverve/fillintheblanks@1.1.14","maintainers":[{"name":"charifield","email":"charifield@gmail.com"},{"name":"apivervehq","email":"hello@apiverve.com"}],"homepage":"https://apiverve.com/marketplace/fillintheblanks?utm_source=npm&utm_medium=homepage","bugs":{"url":"https://github.com/apiverve/fillintheblanks-api/issues"},"dist":{"shasum":"e94fd6d02eecc4b78e814e29acd8b7fc8287307e","tarball":"https://registry.npmjs.org/@apiverve/fillintheblanks/-/fillintheblanks-1.1.14.tgz","fileCount":5,"integrity":"sha512-YiKqjft0qFJNn6ZFKlsgDlnWEeyhrRSig5c3X/V8YH5svqt/T3r/m5xj0P8f052/vYXT9sANAH2e/YFQggA22Q==","signatures":[{"sig":"MEUCIQDXAwSNLQTqb6RYFk4g5GlyYbYcHiyb3ybIi0IiUNmLaQIgNn9QYIatTqHt+KxhQuWub8MDRNrg3g34ywvhFZFwOt8=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":19376},"main":"index.js","types":"index.d.ts","engines":{"node":">=14.0.0"},"gitHead":"2f35257ac4df6e979213a38ff3974fd82a1cf5b1","scripts":{"test":"mocha","example":"node examples/basic.js"},"_npmUser":{"name":"charifield","email":"charifield@gmail.com"},"repository":{"url":"git+https://github.com/apiverve/fillintheblanks-api.git","type":"git","directory":"npm"},"_npmVersion":"10.9.3","description":"Fill in the Blanks Generator creates completion puzzles from idioms, proverbs, quotes, science facts, and geography trivia.","directories":{},"sideEffects":false,"_nodeVersion":"22.22.0","dependencies":{"axios":"1.13.2","promise":"^8.3.0","node-fetch":"^3.3.2"},"_hasShrinkwrap":false,"devDependencies":{"chai":"^5.1.2","mocha":"^11.0.1","dotenv":"^16.4.7"},"_npmOperationalInternal":{"tmp":"tmp/fillintheblanks_1.1.14_1771237258491_0.8688568509465797","host":"s3://npm-registry-packages-npm-production"}},"1.2.0":{"name":"@apiverve/fillintheblanks","version":"1.2.0","description":"Fill in the Blanks Generator creates completion puzzles from idioms, proverbs, quotes, science facts, and geography trivia.","main":"index.js","types":"index.d.ts","sideEffects":false,"engines":{"node":">=18.0.0"},"scripts":{"test":"mocha","example":"node examples/basic.js"},"repository":{"type":"git","url":"git+https://github.com/apiverve/fillintheblanks-api.git","directory":"npm"},"keywords":["fill in the blank","cloze test","completion puzzle","vocabulary quiz","idioms"],"author":{"name":"APIVerve","email":"hello@apiverve.com","url":"https://apiverve.com"},"license":"MIT","bugs":{"url":"https://github.com/apiverve/fillintheblanks-api/issues"},"homepage":"https://apiverve.com/marketplace/fillintheblanks?utm_source=npm&utm_medium=homepage","devDependencies":{"mocha":"^11.0.1","chai":"^5.1.2","dotenv":"^16.4.7"},"dependencies":{"axios":"1.13.2","form-data":"^4.0.1"},"gitHead":"2878cdb345f00af84126a08bcc1be2b68ae96fec","_id":"@apiverve/fillintheblanks@1.2.0","_nodeVersion":"24.15.0","_npmVersion":"11.13.0","dist":{"integrity":"sha512-xa7mQclEaisNaoEuBkM1jb42W78vUbzhB4IKwsaYRBFYe2A5Ibnavqz3TAgvB62eR4mJgdEwzkNdLwBGyvTLrQ==","shasum":"073ee8d6241543243f27f587fc1522f09b0a2033","tarball":"https://registry.npmjs.org/@apiverve/fillintheblanks/-/fillintheblanks-1.2.0.tgz","fileCount":5,"unpackedSize":20957,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQC+BIDtfXVXMWDQh5fCFitGKwX6bUMURT2a1mLOw8yptwIgTmhEzfvI8tdeWitHjXx3VedDHF1Bay5GVf0xxXQf3oY="}]},"_npmUser":{"name":"apivervehq","email":"hello@apiverve.com"},"directories":{},"maintainers":[{"name":"charifield","email":"charifield@gmail.com"},{"name":"apivervehq","email":"hello@apiverve.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/fillintheblanks_1.2.0_1784150141678_0.7593742255763039"},"_hasShrinkwrap":false}},"time":{"created":"2025-12-09T06:10:30.013Z","modified":"2026-07-15T21:15:41.957Z","1.1.12":"2025-12-09T06:10:30.275Z","1.1.13":"2026-02-14T04:56:09.473Z","1.1.14":"2026-02-16T10:20:58.635Z","1.2.0":"2026-07-15T21:15:41.831Z"},"bugs":{"url":"https://github.com/apiverve/fillintheblanks-api/issues"},"author":{"name":"APIVerve","email":"hello@apiverve.com","url":"https://apiverve.com"},"license":"MIT","homepage":"https://apiverve.com/marketplace/fillintheblanks?utm_source=npm&utm_medium=homepage","keywords":["fill in the blank","cloze test","completion puzzle","vocabulary quiz","idioms"],"repository":{"type":"git","url":"git+https://github.com/apiverve/fillintheblanks-api.git","directory":"npm"},"description":"Fill in the Blanks Generator creates completion puzzles from idioms, proverbs, quotes, science facts, and geography trivia.","maintainers":[{"name":"charifield","email":"charifield@gmail.com"},{"name":"apivervehq","email":"hello@apiverve.com"}],"readme":"# Fill in the Blanks Generator API\r\n\r\nFill in the Blanks Generator creates completion puzzles from idioms, proverbs, quotes, science facts, and geography trivia.\r\n\r\n![Build Status](https://img.shields.io/badge/build-passing-green)\r\n![Code Climate](https://img.shields.io/badge/maintainability-B-purple)\r\n![Prod Ready](https://img.shields.io/badge/production-ready-blue)\r\n[![npm version](https://img.shields.io/npm/v/@apiverve/fillintheblanks.svg)](https://www.npmjs.com/package/@apiverve/fillintheblanks)\r\n\r\nThis is a Javascript Wrapper for the [Fill in the Blanks Generator API](https://apiverve.com/marketplace/fillintheblanks?utm_source=npm&utm_medium=readme)\r\n\r\n---\r\n\r\n## Installation\r\n\r\nUsing npm:\r\n```shell\r\nnpm install @apiverve/fillintheblanks\r\n```\r\n\r\nUsing yarn:\r\n```shell\r\nyarn add @apiverve/fillintheblanks\r\n```\r\n\r\n---\r\n\r\n## Configuration\r\n\r\nBefore using the Fill in the Blanks Generator API client, you have to setup your account and obtain your API Key.\r\nYou can get it by signing up at [https://apiverve.com](https://apiverve.com?utm_source=npm&utm_medium=readme)\r\n\r\n---\r\n\r\n## Quick Start\r\n\r\n[Get started with the Quick Start Guide](https://docs.apiverve.com/quickstart?utm_source=npm&utm_medium=readme)\r\n\r\nThe Fill in the Blanks Generator API documentation is found here: [https://docs.apiverve.com/ref/fillintheblanks](https://docs.apiverve.com/ref/fillintheblanks?utm_source=npm&utm_medium=readme).\r\nYou can find parameters, example responses, and status codes documented here.\r\n\r\n### Setup\r\n\r\n```javascript\r\nconst fillintheblanksAPI = require('@apiverve/fillintheblanks');\r\nconst api = new fillintheblanksAPI({\r\n    api_key: '[YOUR_API_KEY]'\r\n});\r\n```\r\n\r\n---\r\n\r\n## Usage\r\n\r\n---\r\n\r\n### Perform Request\r\n\r\nUsing the API is simple. All you have to do is make a request. The API will return a response with the data you requested.\r\n\r\n```javascript\r\nvar query = {\n  category: \"random\",\n  count: 5,\n  difficulty: \"medium\",\n  image: false\n};\r\n\r\napi.execute(query, function (error, data) {\r\n    if (error) {\r\n        return console.error(error);\r\n    } else {\r\n        console.log(data);\r\n    }\r\n});\r\n```\r\n\r\n---\r\n\r\n### Using Promises\r\n\r\nYou can also use promises to make requests. The API returns a promise that you can use to handle the response.\r\n\r\n```javascript\r\nvar query = {\n  category: \"random\",\n  count: 5,\n  difficulty: \"medium\",\n  image: false\n};\r\n\r\napi.execute(query)\r\n    .then(data => {\r\n        console.log(data);\r\n    })\r\n    .catch(error => {\r\n        console.error(error);\r\n    });\r\n```\r\n\r\n---\r\n\r\n### Using Async/Await\r\n\r\nYou can also use async/await to make requests. The API returns a promise that you can use to handle the response.\r\n\r\n```javascript\r\nasync function makeRequest() {\r\n    var query = {\n  category: \"random\",\n  count: 5,\n  difficulty: \"medium\",\n  image: false\n};\r\n\r\n    try {\r\n        const data = await api.execute(query);\r\n        console.log(data);\r\n    } catch (error) {\r\n        console.error(error);\r\n    }\r\n}\r\n```\r\n\r\n---\r\n\r\n## Example Response\r\n\r\n```json\r\n{\n  \"status\": \"ok\",\n  \"error\": null,\n  \"data\": {\n    \"puzzles\": [\n      {\n        \"id\": 1,\n        \"sentence\": \"A penny saved is a penny ___.\",\n        \"answer\": \"EARNED\",\n        \"letterCount\": 6,\n        \"hint\": \"gained/obtained\",\n        \"firstLetter\": null\n      },\n      {\n        \"id\": 2,\n        \"sentence\": \"Actions speak louder than ___.\",\n        \"answer\": \"WORDS\",\n        \"letterCount\": 5,\n        \"hint\": \"what we say\",\n        \"firstLetter\": null\n      },\n      {\n        \"id\": 3,\n        \"sentence\": \"Don't count your chickens before they ___.\",\n        \"answer\": \"HATCH\",\n        \"letterCount\": 5,\n        \"hint\": \"come out of eggs\",\n        \"firstLetter\": null\n      },\n      {\n        \"id\": 4,\n        \"sentence\": \"The early bird catches the ___.\",\n        \"answer\": \"WORM\",\n        \"letterCount\": 4,\n        \"hint\": \"a crawling creature\",\n        \"firstLetter\": null\n      },\n      {\n        \"id\": 5,\n        \"sentence\": \"Don't put all your eggs in one ___.\",\n        \"answer\": \"BASKET\",\n        \"letterCount\": 6,\n        \"hint\": \"a container\",\n        \"firstLetter\": null\n      }\n    ],\n    \"count\": 5,\n    \"difficulty\": \"medium\",\n    \"category\": \"idioms\",\n    \"html\": \"<html><head><title>Fill in the Blanks</title><style>body {font-family: Arial, sans-serif; padding: 20px; max-width: 700px; margin: 0 auto;}h1 {text-align: center; color: #673AB7;}.puzzle {background: #f5f5f5; padding: 20px; margin: 15px 0; border-radius: 10px;}.number {font-weight: bold; color: #673AB7; margin-bottom: 10px;}.sentence {font-size: 18px; line-height: 1.8;}.blank {display: inline-block; min-width: 100px; border-bottom: 2px solid #673AB7; margin: 0 5px;}.hint {font-size: 13px; color: #888; font-style: italic; margin-top: 10px;}.info {font-size: 12px; color: #999; margin-top: 5px;}</style></head><body><h1>Fill in the Blanks</h1><div class='puzzle'><div class='number'>#1</div><div class='sentence'>A penny saved is a penny <span class='blank'></span>.</div><div class='info'>6 letters</div><div class='hint'>Hint: gained/obtained</div></div><div class='puzzle'><div class='number'>#2</div><div class='sentence'>Actions speak louder than <span class='blank'></span>.</div><div class='info'>5 letters</div><div class='hint'>Hint: what we say</div></div><div class='puzzle'><div class='number'>#3</div><div class='sentence'>Don't count your chickens before they <span class='blank'></span>.</div><div class='info'>5 letters</div><div class='hint'>Hint: come out of eggs</div></div><div class='puzzle'><div class='number'>#4</div><div class='sentence'>The early bird catches the <span class='blank'></span>.</div><div class='info'>4 letters</div><div class='hint'>Hint: a crawling creature</div></div><div class='puzzle'><div class='number'>#5</div><div class='sentence'>Don't put all your eggs in one <span class='blank'></span>.</div><div class='info'>6 letters</div><div class='hint'>Hint: a container</div></div></body></html>\",\n    \"image\": {\n      \"imageName\": \"ba85c6d6-4376-4171-841d-8b4bc97e1095_fillblanks.png\",\n      \"format\": \".png\",\n      \"downloadURL\": \"https://storage.googleapis.com/apiverve/APIData/fillintheblanks/ba85c6d6-4376-4171-841d-8b4bc97e1095_fillblanks.png?GoogleAccessId=635500398038-compute%40developer.gserviceaccount.com&Expires=1766010206&Signature=YRHfh28GKDNvEM4Q07qRcNyg3WnPs7Ee7yg0xXKxKRTmT%2Bg3x%2FThpfWsFTeYScpZlgQTVQ3SU1tZMGH74sZJvAHdVkG6IGA9V2lwIfhHzcfu4Uf4VGKL8%2FIa%2FaLupdtrgDqXSFWOJ9EHHeMKnImAhli1qhlMu%2BIuWAiqfPitDlN5pMklv4R5FACKkZld4LXyA82%2BX8bt%2FESyHciZ5jzlqY1JTacL4kW5uK09bpoo9Ytvs8XOOOjB0my1s%2BIq5z0JEwZzw1Jag%2F5vd09wTXzSXeQMzfo%2FDj73kpU7SilAxEGh%2BuflilyDQTXK7krXcdFUGcD5Nd4Wm%2BW7dP8tQKmbAA%3D%3D\",\n      \"expires\": 1766010206793\n    }\n  }\n}\r\n```\r\n\r\n---\r\n\r\n## Customer Support\r\n\r\nNeed any assistance? [Get in touch with Customer Support](https://apiverve.com/contact?utm_source=npm&utm_medium=readme).\r\n\r\n---\r\n\r\n## Updates\r\n\r\nStay up to date by following [@apiverveHQ](https://twitter.com/apiverveHQ) on Twitter.\r\n\r\n---\r\n\r\n## Legal\r\n\r\nAll usage of the APIVerve website, API, and services is subject to the [APIVerve Terms of Service](https://apiverve.com/terms?utm_source=npm&utm_medium=readme), [Privacy Policy](https://apiverve.com/privacy?utm_source=npm&utm_medium=readme), and [Refund Policy](https://apiverve.com/refund?utm_source=npm&utm_medium=readme).\r\n\r\n---\r\n\r\n## License\r\nLicensed under the The MIT License (MIT)\r\n\r\nCopyright (&copy;) 2026 APIVerve, and EvlarSoft LLC\r\n\r\nPermission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:\r\n\r\nThe above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\r\n\r\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\r\n","readmeFilename":"README.md"}