SparkFun GPS Breakout (ZOE-M8Q and SAM-M8Q) Hookup Guide
SparkFun u-blox Arduino Library
Both the SAM-M8Q and ZOE-M8Q share the same library. These two also share a library with their other u-BLOX higher precision cousins. The SparkFun U-blox Arduino library can be downloaded with the Arduino library manager by searching 'SparkFun u-blox GNSS' or you can grab the zip here from the GitHub repository:
There are 13 example sketches provided to get you up and receiving messages from space.