public class CryptoControlApi extends Object
| Modifier and Type | Class | Description |
|---|---|---|
static interface |
CryptoControlApi.OnResponseHandler<T> |
| Constructor | Description |
|---|---|
CryptoControlApi(String apiKey) |
| Modifier and Type | Method | Description |
|---|---|---|
void |
getLatestFeedByCoin(String coinName,
CryptoControlApi.OnResponseHandler<List<Feed>> callback) |
Get feed (articles/tweets/reddit) for a specific coin from the CryptoControl API.
|
void |
getLatestNews(CryptoControlApi.OnResponseHandler<List<Article>> callback) |
Get the latest news articles from the CryptoControl News API.
|
void |
getLatestNewsByCoin(String coinName,
CryptoControlApi.OnResponseHandler<List<Article>> callback) |
Get the latest news articles for a specific coin from the CryptoControl News API.
|
void |
getLatestRedditPostsByCoin(String coinName,
CryptoControlApi.OnResponseHandler<List<RedditPost>> callback) |
Get the latest reddit posts for a specific coin from the CryptoControl API.
|
void |
getLatestTweetsByCoin(String coinName,
CryptoControlApi.OnResponseHandler<List<Tweet>> callback) |
Get the top tweets for a specific coin from the CryptoControl API.
|
void |
getTopFeedByCoin(String coinName,
CryptoControlApi.OnResponseHandler<List<Feed>> callback) |
Get feed (articles/tweets/reddit) for a specific coin from the CryptoControl API.
|
void |
getTopNews(CryptoControlApi.OnResponseHandler<List<Article>> callback) |
Get the top news articles from the CryptoControl News API.
|
void |
getTopNewsByCategory(CryptoControlApi.OnResponseHandler<CategoryResponse> callback) |
Get news articles grouped by category from the CryptoControl News API.
|
void |
getTopNewsByCoin(String coinName,
CryptoControlApi.OnResponseHandler<List<Article>> callback) |
Get the top news articles for a specific coin from the CryptoControl API.
|
void |
getTopNewsByCoinCategory(String coinName,
CryptoControlApi.OnResponseHandler<CategoryResponse> callback) |
Get news articles grouped by category for a specific coin from the CryptoControl News API.
|
void |
getTopRedditPostsByCoin(String coinName,
CryptoControlApi.OnResponseHandler<List<RedditPost>> callback) |
Get the top reddit posts for a specific coin from the CryptoControl API.
|
void |
getTopTweetsByCoin(String coinName,
CryptoControlApi.OnResponseHandler<List<Tweet>> callback) |
Get the latest tweets for a specific coin from the CryptoControl API.
|
public CryptoControlApi(String apiKey)
public void getTopNews(CryptoControlApi.OnResponseHandler<List<Article>> callback)
callback - A callback fn returning the response from the CryptoControl API.public void getLatestNews(CryptoControlApi.OnResponseHandler<List<Article>> callback)
callback - A callback fn returning the response from the CryptoControl API.public void getTopNewsByCategory(CryptoControlApi.OnResponseHandler<CategoryResponse> callback)
callback - A callback fn returning the response from the CryptoControl API.public void getTopNewsByCoin(String coinName, CryptoControlApi.OnResponseHandler<List<Article>> callback)
coinName - The coin name to get news for.callback - A callback fn returning the response from the CryptoControl API.public void getLatestNewsByCoin(String coinName, CryptoControlApi.OnResponseHandler<List<Article>> callback)
coinName - The coin name to get news for.callback - A callback fn returning the response from the CryptoControl API.public void getTopNewsByCoinCategory(String coinName, CryptoControlApi.OnResponseHandler<CategoryResponse> callback)
coinName - The coin name to get news for.callback - A callback fn returning the response from the CryptoControl API.public void getTopRedditPostsByCoin(String coinName, CryptoControlApi.OnResponseHandler<List<RedditPost>> callback)
coinName - The coin name to get reddit items for.callback - A callback fn returning the response from the CryptoControl API.public void getLatestRedditPostsByCoin(String coinName, CryptoControlApi.OnResponseHandler<List<RedditPost>> callback)
coinName - The coin name to get reddit items for.callback - A callback fn returning the response from the CryptoControl API.public void getTopTweetsByCoin(String coinName, CryptoControlApi.OnResponseHandler<List<Tweet>> callback)
coinName - The coin name to get reddit items for.callback - A callback fn returning the response from the CryptoControl API.public void getLatestTweetsByCoin(String coinName, CryptoControlApi.OnResponseHandler<List<Tweet>> callback)
coinName - The coin name to get tweets for.callback - A callback fn returning the response from the CryptoControl API.public void getTopFeedByCoin(String coinName, CryptoControlApi.OnResponseHandler<List<Feed>> callback)
coinName - The coin name to get the feed items for.callback - A callback fn returning the response from the CryptoControl API.public void getLatestFeedByCoin(String coinName, CryptoControlApi.OnResponseHandler<List<Feed>> callback)
coinName - The coin name to get the feed for.callback - A callback fn returning the response from the CryptoControl API.Copyright © 2018. All rights reserved.