Consume shiphero APIs from mule

I have to make query and mutation operations from mulesoft. My available options are

  1. Connecting to shiphero over http
  2. Use java graphql api

What is the better approach? can you please provide some sample resources for the same.