A fork of The Altening API originally made by Trol. The objective of this fork is to improve the performance and readability for its users.
- Use JDK 1.8+
To create a new BasicDataRetriever
instance depending on the wanted type:
import com.thealtening.api.TheAltening
BasicDataRetriever basicDataRetriever = TheAltening.newBasicRetriever("api key");
AsynchronousDataRetriever asynchronousDataRetriever = TheAltening.newAsyncRetriever("api key");
you also can pass the BasicDataRetriever
to AsynchronousDataRetriever
using toAsync
:
AsynchronousDataRetriever asynchronousDataRetriever = basicDataRetriever.toAsync();
Even though most of the other methods are self-explanatory. If you want a little bit more detailed use of the API check out the tests.
The fork as the original repository requires it is under GNU GPLv3.