Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/EvaCoop/pyeos_client
https://github.com/EvaCoop/pyeos_client
eosd eosio pyeos rpc
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/EvaCoop/pyeos_client
- Owner: GoEvaCom
- License: mit
- Created: 2018-05-18T18:27:46.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2022-12-08T02:06:12.000Z (almost 2 years ago)
- Last Synced: 2024-04-10T17:19:26.028Z (7 months ago)
- Topics: eosd, eosio, pyeos, rpc
- Language: Python
- Size: 257 KB
- Stars: 16
- Watchers: 4
- Forks: 4
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
- awesome-eos - pyeos_client - EOS RPC wrapper for Python (Language Support / Python)
- awesome-EOS - pyeos_client - EOS RPC wrapper for Python. (Language Support / Python)
README
# pyeos_client
This is a non official python library build around the eosd Chain & Wallet RPC API.
This library will allow you to easily interact with EOSIO node through REST API.## Installation
```
pip install pyeos-client
```## Getting Started
```python
from pyeos_client.NodeosConnect import RequestHandlerAPI
from pyeos_client.EOSChainApi import ChainAPIconnection = RequestHandlerAPI(base_url='http://nodeos-server:8888', headers={"Accept": "application/json"})
chainapi = ChainAPI(connection)
print(chainapi.get_info().json())
```
###### results```json
{
"server_version": "b2eb1667",
"head_block_num": 259590,
"last_irreversible_block_num": 259573,
"head_block_id": "0003f60677f3707f0704f16177bf5f007ebd45eb6efbb749fb1c468747f72046",
"head_block_time": "2017-12-10T17:05:36",
"head_block_producer": "initp",
"recent_slots": "1111111111111111111111111111111111111111111111111111111111111111",
"participation_rate": "1.00000000000000000"
}```
#### Authors
- [@Merouane_Benth](https://twitter.com/Merouane_Benth)
#### License
This project is licensed under the MIT License - see the LICENSE file for details## Official documentation
- [RPC Interface EOS](https://eosio.github.io/eos/group__eosiorpc.html#v1walletlock)
- [Library documentation](https://pyeos-client.readthedocs.io)### Contributing
- Fork it (https://github.com/EvaCoop/pyeos_client.git)
- Create your feature branch (git checkout -b feature/fooBar)
- Commit your changes (git commit -am 'Add some fooBar')
- Push to the branch (git push origin feature/fooBar)
- Create a new Pull Request