|  | 
| 1 | 1 | [](https://api.etherscan.io/api?module=stats&action=ethprice&apikey=YourApiKeyToken) | 
| 2 | 2 | [](https://circleci.com/gh/EbenezerGH/hello_etherscan/tree/master) | 
| 3 |  | -[](https://circleci.com/gh/EbenezerGH/hello_etherscan/tree/master) | 
|  | 3 | +[](https://github.com/EbenezerGH/etherscan-android-api/releases) | 
| 4 | 4 | [](https://github.com/EbenezerGH/hello_etherscan/blob/update-documentation/LICENSE) | 
| 5 | 5 | 
 | 
| 6 | 6 | # etherscan-android-api | 
| 7 | 7 | 
 | 
| 8 | 8 | etherscan android api is an android wrapper for the [etherscan api](https://etherscan.io/apis). This is just a module to handle networking calls. | 
| 9 | 9 | 
 | 
| 10 |  | -[features](https://github.com/EbenezerGH/hello_etherscan/issues) Though this version is completely safe to use, There are a couple of edge cases to be handled before the first version. | 
|  | 10 | +There are only a few [features](https://github.com/EbenezerGH/hello_etherscan/issues) left to complete, however this version is completely safe to use. | 
| 11 | 11 | 
 | 
| 12 | 12 | ## Getting Started | 
| 13 | 13 | 
 | 
| 14 |  | -import a reactive android library to handle the reactive stream being passed into your module. | 
|  | 14 | +Add JitPack to your root build.gradle at the end of repositories | 
|  | 15 | +``` | 
|  | 16 | +	allprojects { | 
|  | 17 | +		repositories { | 
|  | 18 | +			... | 
|  | 19 | +			maven { url 'https://jitpack.io' } | 
|  | 20 | +		} | 
|  | 21 | +	} | 
|  | 22 | +``` | 
|  | 23 | +Add the dependency | 
|  | 24 | +``` | 
|  | 25 | +	dependencies { | 
|  | 26 | +	 implementation 'com.github.EbenezerGH:hello_etherscan:v0.8.0' | 
|  | 27 | +	} | 
|  | 28 | +``` | 
|  | 29 | +import a reactive android library to handle the reactive stream being passed into your module. For instance I used the following: | 
| 15 | 30 | 
 | 
| 16 | 31 | 
 | 
| 17 | 32 |  implementation 'io.reactivex.rxjava2:rxandroid:x.y.z' | 
| 18 | 33 |  implementation 'io.reactivex.rxjava2:rxkotlin:x.y.z' | 
| 19 | 34 | 
 | 
| 20 | 35 | 
 | 
| 21 |  | -Optional: Call `ApiKey.takeOff.setApiKey("[your api key here]")` in module's application class when recording api usage in the etherscan.io console. [see [example implementation](https://github.com/EbenezerGH/hello_etherscan/blob/master/app/src/main/java/jfyg/etherscan/helloetherescan/HelloEtherscanApplication.kt)] | 
|  | 36 | +Optional: Call `ApiKey.takeOff.setApiKey("[your api key here]")` in your module's application class when recording api usage in the etherscan.io console. [see [example implementation](https://github.com/EbenezerGH/etherscan-android-api/blob/master/etherscan-sample/src/main/java/jfyg/etherscan/helloetherescan/EtherscanSampleApplication.kt)] | 
| 22 | 37 | ``` | 
| 23 | 38 | ApiKey.takeOff.setApiKey("1I7CRNU2QIU253UBPFVB5UV2C2PBDURAIYZ") | 
| 24 | 39 | ``` | 
| 25 | 40 | 
 | 
| 26 |  | -Create an Instance of one of the reactive Singles and access values by specifying thread and subscribing. [see [example implementation](https://github.com/EbenezerGH/hello_etherscan/blob/master/app/src/main/java/jfyg/etherscan/helloetherescan/MainActivity.kt)] | 
|  | 41 | +Create an Instance of one of the reactive Singles and access values by specifying thread and subscribing. [see [example implementation](https://github.com/EbenezerGH/etherscan-android-api/blob/master/etherscan-sample/src/main/java/jfyg/etherscan/helloetherescan/SampleActivity.kt)] | 
| 27 | 42 | 
 | 
| 28 | 43 | Currently Available: ``[accounts, contracts, transactions, blocks, stat]`` | 
| 29 | 44 | 
 | 
|  | 
0 commit comments