GA4: How to use the Google Analytics PHP data library

Not sure where to begin with the new GA4 data API? Can't make sense of the docs? Read on and find out how to get your data,