Norman0406 / LISA

Lightweight Integrated System for Amateur Radio
GNU General Public License v3.0
2 stars 1 forks source link

Callsign lookup #10

Open Norman0406 opened 9 years ago

Norman0406 commented 9 years ago

There are different web services that can be used to query more information on amateur radio callsigns.

The QRZ.com API is well documented. I would suggest using this one first. Create an abstract base class for database lookup and structures that contain callsign information. Derive a specific class for the callsign service, i.e. QRZ.com, and fetch information from the returned XML using the newest API version. See here for the XML specification. You have to provide a username and password to obtain a session key, so use HTTPS if possible. I will acquire a paid account soon, so we can retrieve all available information.

There are also offline sources like callsign cd media, etc, that could theoretically be used in the same way.

Norman0406 commented 9 years ago

Use the internal network access manager class and check for internet availability before issuing network requests. Also use a timeout timer to handle missing replys and check for error states. Errors should be parsed into an error struct and passed via a signal to whoever is interested in it.

Norman0406 commented 9 years ago

There is an example of using HamQTH here.