{ "info": { "author": "", "author_email": "contact@skycoin.net", "bugtrack_url": null, "classifiers": [], "description": "# skyapi\nSkycoin is a next-generation cryptocurrency.\n\nThis Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:\n\n- API version: 0.26.0\n- Package version: 1.0.0\n- Build package: org.openapitools.codegen.languages.PythonClientCodegen\nFor more information, please visit [https://skycoin.net](https://skycoin.net)\n\n## Requirements.\n\nPython 2.7 and 3.4+\n\n## Installation & Usage\n### pip install\n\nIf the python package is hosted on Github, you can install directly from Github\n\n```sh\npip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git\n```\n(you may need to run `pip` with root permission: `sudo pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git`)\n\nThen import the package:\n```python\nimport skyapi \n```\n\n### Setuptools\n\nInstall via [Setuptools](http://pypi.python.org/pypi/setuptools).\n\n```sh\npython setup.py install --user\n```\n(or `sudo python setup.py install` to install the package for all users)\n\nThen import the package:\n```python\nimport skyapi\n```\n\n## Getting Started\n\nPlease follow the [installation procedure](#installation--usage) and then run the following:\n\n```python\nfrom __future__ import print_function\nimport time\nimport skyapi\nfrom skyapi.rest import ApiException\nfrom pprint import pprint\n\n\n# create an instance of the API class\napi_instance = skyapi.DefaultApi(skyapi.ApiClient(configuration))\n\ntry:\n # Returns the total number of unique address that have coins.\n api_response = api_instance.address_count()\n pprint(api_response)\nexcept ApiException as e:\n print(\"Exception when calling DefaultApi->address_count: %s\\n\" % e)\n\n```\n\n## Documentation for API Endpoints\n\nAll URIs are relative to *http://127.0.0.1:6420*\n\nClass | Method | HTTP request | Description\n------------ | ------------- | ------------- | -------------\n*DefaultApi* | [**address_count**](docs/DefaultApi.md#address_count) | **GET** /api/v1/addresscount | Returns the total number of unique address that have coins.\n*DefaultApi* | [**address_uxouts**](docs/DefaultApi.md#address_uxouts) | **GET** /api/v1/address_uxouts | \n*DefaultApi* | [**api_v1_rawtx_get**](docs/DefaultApi.md#api_v1_rawtx_get) | **GET** /api/v1/rawtx | \n*DefaultApi* | [**api_v2_metrics_get**](docs/DefaultApi.md#api_v2_metrics_get) | **GET** /api/v2/metrics | \n*DefaultApi* | [**balance_get**](docs/DefaultApi.md#balance_get) | **GET** /api/v1/balance | Returns the balance of one or more addresses, both confirmed and predicted. The predicted balance is the confirmed balance minus the pending spends.\n*DefaultApi* | [**balance_post**](docs/DefaultApi.md#balance_post) | **POST** /api/v1/balance | Returns the balance of one or more addresses, both confirmed and predicted. The predicted balance is the confirmed balance minus the pending spends.\n*DefaultApi* | [**block**](docs/DefaultApi.md#block) | **GET** /api/v1/block | Returns the balance of one or more addresses, both confirmed and predicted. The predicted balance is the confirmed balance minus the pending spends.\n*DefaultApi* | [**blockchain_metadata**](docs/DefaultApi.md#blockchain_metadata) | **GET** /api/v1/blockchain/metadata | Returns the blockchain metadata.\n*DefaultApi* | [**blockchain_progress**](docs/DefaultApi.md#blockchain_progress) | **GET** /api/v1/blockchain/progress | Returns the blockchain sync progress.\n*DefaultApi* | [**blocks**](docs/DefaultApi.md#blocks) | **GET** /api/v1/blocks | Returns the balance of one or more addresses, both confirmed and predicted. The predicted balance is the confirmed balance minus the pending spends.\n*DefaultApi* | [**coin_supply**](docs/DefaultApi.md#coin_supply) | **GET** /api/v1/coinSupply | \n*DefaultApi* | [**csrf**](docs/DefaultApi.md#csrf) | **GET** /api/v1/csrf | Creates a new CSRF token. Previous CSRF tokens are invalidated by this call.\n*DefaultApi* | [**data_delete**](docs/DefaultApi.md#data_delete) | **DELETE** /api/v2/data | \n*DefaultApi* | [**data_get**](docs/DefaultApi.md#data_get) | **GET** /api/v2/data | \n*DefaultApi* | [**data_post**](docs/DefaultApi.md#data_post) | **POST** /api/v2/data | \n*DefaultApi* | [**default_connections**](docs/DefaultApi.md#default_connections) | **GET** /api/v1/network/defaultConnections | defaultConnectionsHandler returns the list of default hardcoded bootstrap addresses.\\\\n They are not necessarily connected to.\n*DefaultApi* | [**health**](docs/DefaultApi.md#health) | **GET** /api/v1/health | Returns node health data.\n*DefaultApi* | [**last_blocks**](docs/DefaultApi.md#last_blocks) | **GET** /api/v1/last_blocks | \n*DefaultApi* | [**network_connection**](docs/DefaultApi.md#network_connection) | **GET** /api/v1/network/connection | This endpoint returns a specific connection.\n*DefaultApi* | [**network_connections**](docs/DefaultApi.md#network_connections) | **GET** /api/v1/network/connections | This endpoint returns all outgoings connections.\n*DefaultApi* | [**network_connections_disconnect**](docs/DefaultApi.md#network_connections_disconnect) | **POST** /api/v1/network/connection/disconnect | \n*DefaultApi* | [**network_connections_exchange**](docs/DefaultApi.md#network_connections_exchange) | **GET** /api/v1/network/connections/exchange | \n*DefaultApi* | [**network_connections_trust**](docs/DefaultApi.md#network_connections_trust) | **GET** /api/v1/network/connections/trust | trustConnectionsHandler returns all trusted connections.\\\\n They are not necessarily connected to. In the default configuration, these will be a subset of the default hardcoded bootstrap addresses.\n*DefaultApi* | [**outputs_get**](docs/DefaultApi.md#outputs_get) | **GET** /api/v1/outputs | If neither addrs nor hashes are specificed, return all unspent outputs. If only one filter is specified, then return outputs match the filter. Both filters cannot be specified.\n*DefaultApi* | [**outputs_post**](docs/DefaultApi.md#outputs_post) | **POST** /api/v1/outputs | If neither addrs nor hashes are specificed, return all unspent outputs. If only one filter is specified, then return outputs match the filter. Both filters cannot be specified.\n*DefaultApi* | [**pending_txs**](docs/DefaultApi.md#pending_txs) | **GET** /api/v1/pendingTxs | \n*DefaultApi* | [**resend_unconfirmed_txns**](docs/DefaultApi.md#resend_unconfirmed_txns) | **POST** /api/v1/resendUnconfirmedTxns | \n*DefaultApi* | [**richlist**](docs/DefaultApi.md#richlist) | **GET** /api/v1/richlist | Returns the top skycoin holders.\n*DefaultApi* | [**transaction**](docs/DefaultApi.md#transaction) | **GET** /api/v1/transaction | \n*DefaultApi* | [**transaction_inject**](docs/DefaultApi.md#transaction_inject) | **POST** /api/v1/injectTransaction | Broadcast a hex-encoded, serialized transaction to the network.\n*DefaultApi* | [**transaction_post**](docs/DefaultApi.md#transaction_post) | **POST** /api/v2/transaction | \n*DefaultApi* | [**transaction_post_unspent**](docs/DefaultApi.md#transaction_post_unspent) | **POST** /api/v2/transaction/unspent | \n*DefaultApi* | [**transaction_raw**](docs/DefaultApi.md#transaction_raw) | **GET** /api/v2/transaction/raw | Returns the hex-encoded byte serialization of a transaction. The transaction may be confirmed or unconfirmed.\n*DefaultApi* | [**transaction_verify**](docs/DefaultApi.md#transaction_verify) | **POST** /api/v2/transaction/verify | \n*DefaultApi* | [**transactions_get**](docs/DefaultApi.md#transactions_get) | **GET** /api/v1/transactions | Returns transactions that match the filters.\n*DefaultApi* | [**transactions_post**](docs/DefaultApi.md#transactions_post) | **POST** /api/v1/transactions | Returns transactions that match the filters.\n*DefaultApi* | [**uxout**](docs/DefaultApi.md#uxout) | **GET** /api/v1/uxout | Returns an unspent output by ID.\n*DefaultApi* | [**verify_address**](docs/DefaultApi.md#verify_address) | **POST** /api/v2/address/verify | Verifies a Skycoin address.\n*DefaultApi* | [**version**](docs/DefaultApi.md#version) | **GET** /api/v1/version | \n*DefaultApi* | [**wallet**](docs/DefaultApi.md#wallet) | **GET** /api/v1/wallet | Returns a wallet by id.\n*DefaultApi* | [**wallet_balance**](docs/DefaultApi.md#wallet_balance) | **GET** /api/v1/wallet/balance | Returns the wallet's balance, both confirmed and predicted. The predicted balance is the confirmed balance minus the pending spends.\n*DefaultApi* | [**wallet_create**](docs/DefaultApi.md#wallet_create) | **POST** /api/v1/wallet/create | \n*DefaultApi* | [**wallet_decrypt**](docs/DefaultApi.md#wallet_decrypt) | **POST** /api/v1/wallet/decrypt | Decrypts wallet.\n*DefaultApi* | [**wallet_encrypt**](docs/DefaultApi.md#wallet_encrypt) | **POST** /api/v1/wallet/encrypt | Encrypt wallet.\n*DefaultApi* | [**wallet_folder**](docs/DefaultApi.md#wallet_folder) | **GET** /api/v1/wallets/folderName | \n*DefaultApi* | [**wallet_new_address**](docs/DefaultApi.md#wallet_new_address) | **POST** /api/v1/wallet/newAddress | \n*DefaultApi* | [**wallet_new_seed**](docs/DefaultApi.md#wallet_new_seed) | **GET** /api/v1/wallet/newSeed | \n*DefaultApi* | [**wallet_recover**](docs/DefaultApi.md#wallet_recover) | **POST** /api/v2/wallet/recover | Recovers an encrypted wallet by providing the seed. The first address will be generated from seed and compared to the first address of the specified wallet. If they match, the wallet will be regenerated with an optional password. If the wallet is not encrypted, an error is returned.\n*DefaultApi* | [**wallet_seed**](docs/DefaultApi.md#wallet_seed) | **POST** /api/v1/wallet/seed | This endpoint only works for encrypted wallets. If the wallet is unencrypted, The seed will be not returned.\n*DefaultApi* | [**wallet_seed_verify**](docs/DefaultApi.md#wallet_seed_verify) | **POST** /api/v2/wallet/seed/verify | Verifies a wallet seed.\n*DefaultApi* | [**wallet_transaction**](docs/DefaultApi.md#wallet_transaction) | **POST** /api/v1/wallet/transaction | Creates a signed transaction\n*DefaultApi* | [**wallet_transaction_sign**](docs/DefaultApi.md#wallet_transaction_sign) | **POST** /api/v2/wallet/transaction/sign | Creates a signed transaction\n*DefaultApi* | [**wallet_transactions**](docs/DefaultApi.md#wallet_transactions) | **GET** /api/v1/wallet/transactions | \n*DefaultApi* | [**wallet_unload**](docs/DefaultApi.md#wallet_unload) | **POST** /api/v1/wallet/unload | Unloads wallet from the wallet service.\n*DefaultApi* | [**wallet_update**](docs/DefaultApi.md#wallet_update) | **POST** /api/v1/wallet/update | Update the wallet.\n*DefaultApi* | [**wallets**](docs/DefaultApi.md#wallets) | **GET** /api/v1/wallets | \n\n\n## Documentation For Models\n\n - [Address](docs/Address.md)\n - [ApiV1PendingTxsTransaction](docs/ApiV1PendingTxsTransaction.md)\n - [ApiV1PendingTxsTransactionOutputs](docs/ApiV1PendingTxsTransactionOutputs.md)\n - [BlockSchema](docs/BlockSchema.md)\n - [BlockSchemaBody](docs/BlockSchemaBody.md)\n - [BlockVerboseSchema](docs/BlockVerboseSchema.md)\n - [BlockVerboseSchemaBody](docs/BlockVerboseSchemaBody.md)\n - [BlockVerboseSchemaHeader](docs/BlockVerboseSchemaHeader.md)\n - [InlineResponse200](docs/InlineResponse200.md)\n - [InlineResponse2001](docs/InlineResponse2001.md)\n - [InlineResponse20010](docs/InlineResponse20010.md)\n - [InlineResponse2002](docs/InlineResponse2002.md)\n - [InlineResponse2003](docs/InlineResponse2003.md)\n - [InlineResponse2004](docs/InlineResponse2004.md)\n - [InlineResponse2005](docs/InlineResponse2005.md)\n - [InlineResponse2006](docs/InlineResponse2006.md)\n - [InlineResponse2007](docs/InlineResponse2007.md)\n - [InlineResponse2008](docs/InlineResponse2008.md)\n - [InlineResponse2008Data](docs/InlineResponse2008Data.md)\n - [InlineResponse2009](docs/InlineResponse2009.md)\n - [InlineResponseDefault](docs/InlineResponseDefault.md)\n - [NetworkConnectionSchema](docs/NetworkConnectionSchema.md)\n - [NetworkConnectionSchemaUnconfirmedVerifyTransaction](docs/NetworkConnectionSchemaUnconfirmedVerifyTransaction.md)\n - [Transaction](docs/Transaction.md)\n - [TransactionEncoded](docs/TransactionEncoded.md)\n - [TransactionEncodedS](docs/TransactionEncodedS.md)\n - [TransactionStatus](docs/TransactionStatus.md)\n - [TransactionTxn](docs/TransactionTxn.md)\n - [TransactionV2ParamsAddress](docs/TransactionV2ParamsAddress.md)\n - [TransactionV2ParamsAddressHoursSelection](docs/TransactionV2ParamsAddressHoursSelection.md)\n - [TransactionV2ParamsUnspent](docs/TransactionV2ParamsUnspent.md)\n - [TransactionV2ParamsUnspentHoursSelection](docs/TransactionV2ParamsUnspentHoursSelection.md)\n - [TransactionV2ParamsUnspentTo](docs/TransactionV2ParamsUnspentTo.md)\n - [TransactionVerbose](docs/TransactionVerbose.md)\n - [TransactionVerboseTxn](docs/TransactionVerboseTxn.md)\n - [TransactionVerboseTxnInputs](docs/TransactionVerboseTxnInputs.md)\n - [TransactionVerifyRequest](docs/TransactionVerifyRequest.md)\n - [WalletTransactionRequest](docs/WalletTransactionRequest.md)\n - [WalletTransactionRequestHoursSelection](docs/WalletTransactionRequestHoursSelection.md)\n - [WalletTransactionRequestWallet](docs/WalletTransactionRequestWallet.md)\n - [WalletTransactionSignRequest](docs/WalletTransactionSignRequest.md)\n\n\n## Documentation For Authorization\n\n\n## csrfAuth\n\n- **Type**: API key\n- **API key parameter name**: X-CSRF-TOKEN\n- **Location**: HTTP header\n\n\n## Author\n\ncontact@skycoin.net\n\n\n\n\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "", "keywords": "skycoin crypto coin currency blockchain REST API", "license": "", "maintainer": "", "maintainer_email": "", "name": "skyapi", "package_url": "https://pypi.org/project/skyapi/", "platform": "", "project_url": "https://pypi.org/project/skyapi/", "project_urls": null, "release_url": "https://pypi.org/project/skyapi/0.26.0/", "requires_dist": [ "urllib3 (>=1.15)", "six (>=1.10)", "certifi", "python-dateutil" ], "requires_python": "", "summary": "Skycoin REST API.", "version": "0.26.0" }, "last_serial": 5850617, "releases": { "0.25.1.post6": [ { "comment_text": "", "digests": { "md5": "f6cdb9347eb22ee184a6067a3feedb08", "sha256": "8cb94d8086ef906ad23db196ae0ecc8e457c4cee60566195195690d8e222ee7e" }, "downloads": -1, "filename": "skyapi-0.25.1.post6-py3-none-any.whl", "has_sig": false, "md5_digest": "f6cdb9347eb22ee184a6067a3feedb08", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 73380, "upload_time": "2019-08-06T02:32:11", "url": "https://files.pythonhosted.org/packages/bf/24/7299ffc586cf815151669178f91e3246ce2dd6826b44831828f945fe7c60/skyapi-0.25.1.post6-py3-none-any.whl" } ], "0.26.0": [ { "comment_text": "", "digests": { "md5": "6aea300f54975c5c60816002c39b224b", "sha256": "6a31601e666ada19f794c6c4dbbb1a67453a0413de4e3669c41ef9281cf05db8" }, "downloads": -1, "filename": "skyapi-0.26.0-py2-none-any.whl", "has_sig": false, "md5_digest": "6aea300f54975c5c60816002c39b224b", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 112666, "upload_time": "2019-09-18T14:30:39", "url": "https://files.pythonhosted.org/packages/bb/c6/b706fbf1a39cc2dd6298516a1088730492ab1035472f13e2c9688754f0ec/skyapi-0.26.0-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "989a6f6fd9b5bb440a44f609624254b5", "sha256": "e01ce5ca6386f3f37a539e39522738b12feefbe023e3912a5342c70e66d4fb8e" }, "downloads": -1, "filename": "skyapi-0.26.0-py3-none-any.whl", "has_sig": false, "md5_digest": "989a6f6fd9b5bb440a44f609624254b5", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 112666, "upload_time": "2019-09-18T14:30:41", "url": "https://files.pythonhosted.org/packages/24/d6/df904a1e2e815b13b544a9bb52810d73eab99d9d324d2f2ceeb5d9d7ba86/skyapi-0.26.0-py3-none-any.whl" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "6aea300f54975c5c60816002c39b224b", "sha256": "6a31601e666ada19f794c6c4dbbb1a67453a0413de4e3669c41ef9281cf05db8" }, "downloads": -1, "filename": "skyapi-0.26.0-py2-none-any.whl", "has_sig": false, "md5_digest": "6aea300f54975c5c60816002c39b224b", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 112666, "upload_time": "2019-09-18T14:30:39", "url": "https://files.pythonhosted.org/packages/bb/c6/b706fbf1a39cc2dd6298516a1088730492ab1035472f13e2c9688754f0ec/skyapi-0.26.0-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "989a6f6fd9b5bb440a44f609624254b5", "sha256": "e01ce5ca6386f3f37a539e39522738b12feefbe023e3912a5342c70e66d4fb8e" }, "downloads": -1, "filename": "skyapi-0.26.0-py3-none-any.whl", "has_sig": false, "md5_digest": "989a6f6fd9b5bb440a44f609624254b5", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 112666, "upload_time": "2019-09-18T14:30:41", "url": "https://files.pythonhosted.org/packages/24/d6/df904a1e2e815b13b544a9bb52810d73eab99d9d324d2f2ceeb5d9d7ba86/skyapi-0.26.0-py3-none-any.whl" } ] }