Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 91592549ae
Fetching contributors…

Cannot retrieve contributors at this time

13 lines (9 sloc) 0.408 kb
from generic_api import *
# Simple Python wrapper around the Block Conversion API provided by the FCC.
class BlockConversionAPI(GenericAPI):
def __init__(self):
GenericAPI.__init__(self, [("get_block", "http://data.fcc.gov/api/block/find")])
# Sample use of BlockConversionAPI
if __name__ == "__main__":
bc = BlockConversionAPI()
print bc.get_block(lat=41, long=-87) # (Should be San Francisco)
Jump to Line
Something went wrong with that request. Please try again.