This class provides a homogeneous interface to three different Amateur Radio Callsign lookup sources:
The class provides getters to access the data in a structured way. Even the interface is the same for all lookup sources, the returning data can be different. The documentation of the various methods provide more detail.
By default, LookupLib requires an Internet connection to download the libraries or perform the lookup against the Clublog API.
| Parameters: |
|
|---|
Returns True if an operations is known as invalid
| Parameters: |
|
|---|---|
| Returns: | True if a record exists for this callsign (at the given time) |
| Return type: | bool |
| Raises: |
|
Note
This method is available for
Returns lookup data if an exception exists for a callsign
| Parameters: |
|
|---|---|
| Returns: | Dictionary containing the country specific data of the callsign |
| Return type: | dict |
| Raises: |
|
Note
This method is available for
Returns lookup data of a ADIF Entity
| Parameters: | entity (int) – ADIF identifier of country |
|---|---|
| Returns: | Dictionary containing the country specific data |
| Return type: | dict |
| Raises: | NoResult – No matching entity found |
Note
This method is available for the following lookup type
Returns lookup data of a Prefix
| Parameters: |
|
|---|---|
| Returns: | Dictionary containing the country specific data of the Prefix |
| Return type: | dict |
| Raises: |
|
Note
This method is available for
Returns a CQ Zone if an exception exists for the given callsign
Args: callsign (string): Amateur radio callsign timestamp (datetime, optional): datetime in UTC (tzinfo=pytz.UTC)
| Returns: | Value of the the CQ Zone exception which exists for this callsign (at the given time) |
|---|---|
| Return type: | int |
| Raises: |
|
Note
This method is available for