2021-07-13 19:53:07 -04:00
|
|
|
---
|
|
|
|
title: "qrz.sh - a CLI QRZ.com query tool"
|
2021-07-17 19:33:02 -04:00
|
|
|
type: post
|
2021-07-13 19:53:07 -04:00
|
|
|
author: micha
|
|
|
|
date: 2020-11-09T17:00:00+02:00
|
|
|
|
url: /qrz-sh/
|
2021-07-22 08:19:42 -04:00
|
|
|
tags:
|
|
|
|
- Software
|
|
|
|
- Bash
|
|
|
|
- CLI
|
|
|
|
- Ham Radio
|
2021-07-13 19:53:07 -04:00
|
|
|
---
|
|
|
|
|
|
|
|
# About
|
|
|
|
|
|
|
|
This script queries the QRZ.com callsign database and returns
|
|
|
|
the result to the command line. A XML subscription plan with
|
|
|
|
QRZ.com is required for full functionality.
|
|
|
|
|
2022-07-10 17:37:25 -04:00
|
|
|
You can download the script here: [https://codeberg.org/mclemens/qrz.sh](https://codeberg.org/mclemens/qrz.sh)
|
2021-07-13 19:53:07 -04:00
|
|
|
|
|
|
|
![screenshot](/img/qrz-sh.jpg)
|
|
|
|
|
|
|
|
# Installation
|
|
|
|
|
|
|
|
* Copy the file _.qrz.conf_ into your home directory
|
|
|
|
* Copy the file _qrz.sh_ into a directory that is in you PATH variable
|
|
|
|
* Set the correct file permissions: _chmod u+x qrz.sh_
|
|
|
|
|
|
|
|
# Dependencies
|
|
|
|
|
|
|
|
* curl
|
|
|
|
|
|
|
|
# Configuration
|
|
|
|
|
|
|
|
Edit the file _~/.qrz.conf_ like this:
|
|
|
|
|
|
|
|
```
|
|
|
|
user=<your QRZ.com username - typically your callsign>
|
|
|
|
password=<your QRZ.com password - NOT your API key>
|
|
|
|
```
|
|
|
|
|
|
|
|
# Usage
|
|
|
|
|
|
|
|
```
|
|
|
|
# qrz.sh <callsign>
|
|
|
|
```
|
|
|
|
|