Consuming Third Party Rest API in Java code and mapping it to Neo4j database

I am working on a task which requires accessing a third party api.
Data received from the API will be in JSON Format.

My issue is :

  1. How do i use the apoc library function in my java code to load this json third party data to map to the neo4j entity and persist the data in the database

in the past i have added apoc as dependency to my library and then simply import and call it like you'd call any java function ( here's an example )

import apoc.create.Create;
new apoc.create.Create().vNode(labels, props);