Want to make a class that is linked to an API

I check the documentation with guzzle but I cannot figure out if I should post or get.
Or maybe both.

I have never worked with a API and with curl so I hope you could explain a bit more if you could.