So I have a function to donwload files from a folder and subfolders and when I use it with the developer token it works perfectly fine.
BoxAPIConnection api = new BoxAPIConnection("DEV TOKEN");
I also have the authorization done which provides me with an access token but I can't quite fit both together.
What does the BoxAPIConnection require to work? What's the formatting? If I just use the accesstoken instead of the dev token I receive an API Error 400. In the library, there are different formats like BoxAPIConnection(String), BoxAPIConnection(String, String), BoxAPIConnection(String, String, String) but I am not entirely sure what I need because the documentation seems to be lacking. What strings do I need and in which order do I need them to get the BoxAPIConnection up and running? Client ID? Client Secret? Access Token?
Please sign in to leave a comment.