I have a java package com.example.Api
I have included it in my project.clj
I have imported it:
(ns prismic-clojure.core
(:import [com.example.Api])
(:gen-class))
There is a static 'get' function which, in Java, I would access like:
Api api = Api.get("https://my.company.io/api", "secret-token");
The java function is defined as:
public static Api get(String url, String accessToken)
I have tried this:
(def api (. get Api "https://my.company.io/api" "secret-token") )
Apiinstance. What's the calling convention for the constructor for that class?