This would be like other 3rd party APIs. I am not sure if there is a Java API with this, If so - you would need to wrap the Java API into an OSGi bundle and deploy. If there are front end JS files - you would need to place them into a clientlib and then write front end components that used the APIs.
AEM is a Java stack and you can integrate Java APIS within OSGi bundles and JS/CSS files in Clientlibs.
I am not aware of any community article that has this use case.