egnyte / egnyte-android-sdk

Android SDK to work with Egnyte Public APIs
Apache License 2.0
2 stars 1 forks source link

java-without-android api #1

Open shenkers opened 6 years ago

shenkers commented 6 years ago

This API seems to be pretty inter-twined with Android. Is there a java-only API? I am trying to make an application that periodically polls egnyte and pulls information into an in-house data management system.

I tried using the classes in the .aar to call the methods in this API, but it seems it requires an OAuth style user authentication. This will not work for me, because I need this application to run without user interaction. Is there a way to use this API without embedding it in an android application? If you had an example hello world program you could point me to that would be awesome.

I have an authentication key, and I have been making HTTP requests/ parsing responses myself, but it seems that I am re-inventing the wheel, as this sdk covers that functionality.

czdpd commented 4 years ago

Does it support owner resource flow? The auth request returns "Incorrect request type GET for resource owner flow. Please check the documentation and try again"