Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/statianzo/hampool
NCVEC amateur radio question pools in JSON format
https://github.com/statianzo/hampool
hacktoberfest
Last synced: about 1 month ago
JSON representation
NCVEC amateur radio question pools in JSON format
- Host: GitHub
- URL: https://github.com/statianzo/hampool
- Owner: statianzo
- License: unlicense
- Created: 2017-08-18T05:11:11.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2017-08-18T15:28:27.000Z (about 7 years ago)
- Last Synced: 2024-09-30T09:18:17.968Z (about 1 month ago)
- Topics: hacktoberfest
- Language: JavaScript
- Homepage:
- Size: 229 KB
- Stars: 9
- Watchers: 4
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# hampool
> NCVEC amateur radio question pools in JSON format
Available on NPM
## Installation
```
npm install hampool
```
## Usage```js
const hampool = require('hampool');console.log(hampool.extra.questions[0])
console.log(hampool.general.questions[0])
console.log(hampool.tech.questions[0])// or require the json directly
const extra = require('hampool/extra');
console.log(extra.questions[0]);
```## Schema Example
```json
{
"questions": [
{
"id": "E1A01",
"correct": 3,
"question": "When using a transceiver that displays the carrier frequency of phone signals, which of the following displayed frequencies represents the highest frequency at which a properly adjusted USB emission will be totally within the band?",
"answers": [
"The exact upper band edge",
"300 Hz below the upper band edge",
"1 kHz below the upper band edge",
"3 kHz below the upper band edge"
]
},
...
]
}
```## Why?
The amateur radio question pools made [available by
NCVEC](http://www.ncvec.org/page.php?id=338) aren't available in an easily
consumable format. This project converted the Word docs to UTF-8 text and then
parsed that into json.## Hosted
Need access to this as an API? Thanks to [unpkg](https://unpkg.com), the contents of the NPM package are available at the following endpoints:
- https://unpkg.com/hampool/tech
- https://unpkg.com/hampool/general
- https://unpkg.com/hampool/extra