Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- fccLookup' :: Text -> IO (Maybe FccResult)
- fccLookup :: Text -> IO (Maybe FccLicense)
- fccLookupName :: Text -> IO Text
- fccLicenseFromResult :: FccResult -> Maybe FccLicense
- data FccResult
- data FccLicense = FccLicense {
- frn :: String
- licName :: String
- serviceDesc :: String
- licDetailURL :: String
- statusDesc :: String
- expiredDate :: String
- licenseID :: String
- callsign :: String
- categoryDesc :: String
- data FccLicenses
- licenses :: FccResult -> FccLicenses
Documentation
Lookup an entry for a callsign in the FCC online database. If an entry can be found, it is returned.
fccLookup :: Text -> IO (Maybe FccLicense) Source #
Look up the first active license given a callsign.
fccLookupName :: Text -> IO Text Source #
Look up the operator's name from the first active license given a callsign.
Result received from a FCC database query.
data FccLicense Source #
FccLicense | |
|
Instances
Read FccLicense Source # | |
Defined in Ham.Internal.Fcc readsPrec :: Int -> ReadS FccLicense # readList :: ReadS [FccLicense] # readPrec :: ReadPrec FccLicense # readListPrec :: ReadPrec [FccLicense] # | |
Show FccLicense Source # | |
Defined in Ham.Internal.Fcc showsPrec :: Int -> FccLicense -> ShowS # show :: FccLicense -> String # showList :: [FccLicense] -> ShowS # | |
ToJSON FccLicense Source # | |
Defined in Ham.Fcc toJSON :: FccLicense -> Value # toEncoding :: FccLicense -> Encoding # toJSONList :: [FccLicense] -> Value # toEncodingList :: [FccLicense] -> Encoding # | |
FromJSON FccLicense Source # | |
Defined in Ham.Fcc parseJSON :: Value -> Parser FccLicense # parseJSONList :: Value -> Parser [FccLicense] # |
data FccLicenses Source #
Instances
Read FccLicenses Source # | |
Defined in Ham.Internal.Fcc readsPrec :: Int -> ReadS FccLicenses # readList :: ReadS [FccLicenses] # readPrec :: ReadPrec FccLicenses # readListPrec :: ReadPrec [FccLicenses] # | |
Show FccLicenses Source # | |
Defined in Ham.Internal.Fcc showsPrec :: Int -> FccLicenses -> ShowS # show :: FccLicenses -> String # showList :: [FccLicenses] -> ShowS # | |
FromJSON FccLicenses Source # | |
Defined in Ham.Fcc parseJSON :: Value -> Parser FccLicenses # parseJSONList :: Value -> Parser [FccLicenses] # |
licenses :: FccResult -> FccLicenses Source #
The actual licenses.
Orphan instances
ToJSON FccLicense Source # | |
toJSON :: FccLicense -> Value # toEncoding :: FccLicense -> Encoding # toJSONList :: [FccLicense] -> Value # toEncodingList :: [FccLicense] -> Encoding # | |
FromJSON FccLicense Source # | |
parseJSON :: Value -> Parser FccLicense # parseJSONList :: Value -> Parser [FccLicense] # | |
FromJSON FccLicenses Source # | |
parseJSON :: Value -> Parser FccLicenses # parseJSONList :: Value -> Parser [FccLicenses] # | |
FromJSON FccResult Source # | |