Get all cores:
core_data= spacexpython.cores.cores()
print(core_data)
Get information about one core:
core_data= spacexpython.cores.one('B1042')
print(core_data)
Get all upcoming cores:
core_data= spacexpython.cores.upcoming()
print(core_data)
Get past cores:
core_data= spacexpython.cores.past()
print(core_data)
For optional parameters (must be included in a JSON document)- see the documentation