python-dogechain-api
=========================
This is a python wrapper class for the dogechain.info api.
http://dogechain.info/chain/Dogecoin/q
___________________________________________________
_Methods_
* addressbalance - amount ever received minus amount ever sent by a given address.
* addresstohash - shows the public key hash encoded in an address.
* checkaddress - checks an address for validity.
* decode_address - shows the version prefix and hash encoded in an address.
* getblockcount - shows the current block number.
* getdifficulty - shows the last solved block's difficulty.
* getreceivedbyaddress - shows the amount ever received by a given address.
* getsentbyaddress - shows the amount ever sent from a given address.
* hashtoaddress - shows the address with the given version prefix and hash.
* nethash - shows statistics about difficulty and network power.
* totalbc - shows the amount of currency ever mined.
* transactions - shows the amount transactions of the last blocks.
___________________________________________________
_Install_
```bash
sudo pip install DogechainApi
```
___________________________________________________
Here's an example:
```python
from DogechainInfoApi import API
if __name__ == '__main__':
address = 'YOUR WALLET ADDRESS'
api = API()
balance = api.addressbalance(address)
print 'Balance: ', balance
addresstohash = api.addresstohash(address)
print 'AddressToHash: ', addresstohash
checkaddress = api.checkaddress(address)
print 'CheckAddress: ', checkaddress
decodeaddress = api.decode_address(address)
print 'DecodeAddress: ', decodeaddress
blockcount = api.getblockcount()
print 'BlockCount: ', blockcount
difficulty = api.getdifficulty()
print 'Difficulty: ', difficulty
receivedbyaddress = api.getreceivedbyaddress(address)
print 'ReceivedByAddress: ', receivedbyaddress
sentbyaddress = api.getsentbyaddress(address)
print 'SendByAddress: ', sentbyaddress
hashtoaddress = api.hashtoaddress(api.addresstohash(address))
print 'HashToAddress', hashtoaddress
nethash = api.nethash()
print 'Nethash: ', nethash
totalbc = api.totalbc()
print 'TotalBalance: ', totalbc
transactions = api.transactions()
print 'Transactions', transactions
```
___________________________________________________
**Please donate to "DQ6mBVyuboTGwS8JYW11oHwXtxsjNAzkzi" [DOGECOIN]**

=========================
This is a python wrapper class for the dogechain.info api.
http://dogechain.info/chain/Dogecoin/q
___________________________________________________
_Methods_
* addressbalance - amount ever received minus amount ever sent by a given address.
* addresstohash - shows the public key hash encoded in an address.
* checkaddress - checks an address for validity.
* decode_address - shows the version prefix and hash encoded in an address.
* getblockcount - shows the current block number.
* getdifficulty - shows the last solved block's difficulty.
* getreceivedbyaddress - shows the amount ever received by a given address.
* getsentbyaddress - shows the amount ever sent from a given address.
* hashtoaddress - shows the address with the given version prefix and hash.
* nethash - shows statistics about difficulty and network power.
* totalbc - shows the amount of currency ever mined.
* transactions - shows the amount transactions of the last blocks.
___________________________________________________
_Install_
```bash
sudo pip install DogechainApi
```
___________________________________________________
Here's an example:
```python
from DogechainInfoApi import API
if __name__ == '__main__':
address = 'YOUR WALLET ADDRESS'
api = API()
balance = api.addressbalance(address)
print 'Balance: ', balance
addresstohash = api.addresstohash(address)
print 'AddressToHash: ', addresstohash
checkaddress = api.checkaddress(address)
print 'CheckAddress: ', checkaddress
decodeaddress = api.decode_address(address)
print 'DecodeAddress: ', decodeaddress
blockcount = api.getblockcount()
print 'BlockCount: ', blockcount
difficulty = api.getdifficulty()
print 'Difficulty: ', difficulty
receivedbyaddress = api.getreceivedbyaddress(address)
print 'ReceivedByAddress: ', receivedbyaddress
sentbyaddress = api.getsentbyaddress(address)
print 'SendByAddress: ', sentbyaddress
hashtoaddress = api.hashtoaddress(api.addresstohash(address))
print 'HashToAddress', hashtoaddress
nethash = api.nethash()
print 'Nethash: ', nethash
totalbc = api.totalbc()
print 'TotalBalance: ', totalbc
transactions = api.transactions()
print 'Transactions', transactions
```
___________________________________________________
**Please donate to "DQ6mBVyuboTGwS8JYW11oHwXtxsjNAzkzi" [DOGECOIN]**

Release files for DogechainApi 0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| DogechainApi-0.1.tar.gz | 13.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| DogechainApi-0.1.linux-x86_64.tar.gz | Details |
Total release size: 27.6 kB
Release files / DogechainApi-0.1.tar.gz
| Download URL | DogechainApi-0.1.tar.gz |
|---|---|
| Size | 13.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
245164663391e2ccd22856e8f30a78b5286e8e716b4dd82648208b429bf653f7
|
|
BLAKE2b-256 checksum How to use checksums |
d31cd1ad8a043cb2ad82a88e2aee4388aab3b3ef58ef0949e4b86239d0b9df89
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / DogechainApi-0.1.linux-x86_64.tar.gz
| Download URL | DogechainApi-0.1.linux-x86_64.tar.gz |
|---|---|
| Size | 14.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
26527f7c641b7ad6af2e35d06ff47d3a2aead860675dd69e0c95ce82c1a154eb
|
|
BLAKE2b-256 checksum How to use checksums |
dd539b9a7aebc72707ed6911b8f6bdcebdb554982ac2f6a93efbe5b6ea48d2ea
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |