coinbaseadvanced


Namecoinbaseadvanced JSON
Version 1.1.0 PyPI version JSON
download
home_pagehttps://github.com/KmiQ/coinbase-advanced-python/
SummaryCoinbase Advanced Trade API client library.
upload_time2024-02-28 20:28:20
maintainer
docs_urlNone
authorCamilo Quintas
requires_python
licenseMIT
keywords api coinbase bitcoin client crypto
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # Coinbase Advanced
Python library for the Coinbase Advanced Trade API.

## Features
- Support for all the [REST API endpoints](https://docs.cloud.coinbase.com/advanced-trade-api/docs/rest-api-overview) through convenient methods.
- Automatic parsing of API responses into relevant Python objects.
- Unit Tests based on real responses using fixtures.
- [Support for Cloud and Legacy Auth Schemas](https://docs.cloud.coinbase.com/advanced-trade-api/docs/rest-api-auth):
   -  Support for [Cloud API Trading Keys](https://cloud.coinbase.com/access/api) (Recommended)
   -  Support for [Legacy API Keys](https://www.coinbase.com/settings/api) (Deprecated but supported in this library for backward compatibility reasons)

## Example
```
from coinbaseadvanced.client import CoinbaseAdvancedTradeAPIClient

# Creating the client using Clould API Keys.
client = CoinbaseAdvancedTradeAPIClient.from_cloud_api_keys(API_KEY_NAME, PRIVATE_KEY)

# Listing accounts.
accounts_page = client.list_accounts()
print(accounts_page.size)

# Creating a limit order.
order_created = client.create_limit_order(client_order_id="lknalksdj89asdkl", product_id="ALGO-USD", side=Side.BUY, limit_price=".19", base_size=5)
```

## Installation
```
pip install coinbaseadvanced
```
## Contributing/Development
Any and all contributions are welcome! The process is simple:
  1. Fork repo.
  2. Install Requirements: `pip install -r requirements.txt`.
  3. Make your changes.
  4. Run the test suite `python -m unittest -v`.
  5. Submit a pull request.

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/KmiQ/coinbase-advanced-python/",
    "name": "coinbaseadvanced",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "api,coinbase,bitcoin,client,crypto",
    "author": "Camilo Quintas",
    "author_email": "kmiloc89@gmail.com",
    "download_url": "https://github.com/KmiQ/coinbase-advanced-python/archive/refs/tags/1.1.0.tar.gz",
    "platform": null,
    "description": "# Coinbase Advanced\nPython library for the Coinbase Advanced Trade API.\n\n## Features\n- Support for all the [REST API endpoints](https://docs.cloud.coinbase.com/advanced-trade-api/docs/rest-api-overview) through convenient methods.\n- Automatic parsing of API responses into relevant Python objects.\n- Unit Tests based on real responses using fixtures.\n- [Support for Cloud and Legacy Auth Schemas](https://docs.cloud.coinbase.com/advanced-trade-api/docs/rest-api-auth):\n   -  Support for [Cloud API Trading Keys](https://cloud.coinbase.com/access/api) (Recommended)\n   -  Support for [Legacy API Keys](https://www.coinbase.com/settings/api) (Deprecated but supported in this library for backward compatibility reasons)\n\n## Example\n```\nfrom coinbaseadvanced.client import CoinbaseAdvancedTradeAPIClient\n\n# Creating the client using Clould API Keys.\nclient = CoinbaseAdvancedTradeAPIClient.from_cloud_api_keys(API_KEY_NAME, PRIVATE_KEY)\n\n# Listing accounts.\naccounts_page = client.list_accounts()\nprint(accounts_page.size)\n\n# Creating a limit order.\norder_created = client.create_limit_order(client_order_id=\"lknalksdj89asdkl\", product_id=\"ALGO-USD\", side=Side.BUY, limit_price=\".19\", base_size=5)\n```\n\n## Installation\n```\npip install coinbaseadvanced\n```\n## Contributing/Development\nAny and all contributions are welcome! The process is simple:\n  1. Fork repo.\n  2. Install Requirements: `pip install -r requirements.txt`.\n  3. Make your changes.\n  4. Run the test suite `python -m unittest -v`.\n  5. Submit a pull request.\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Coinbase Advanced Trade API client library.",
    "version": "1.1.0",
    "project_urls": {
        "Download": "https://github.com/KmiQ/coinbase-advanced-python/archive/refs/tags/1.1.0.tar.gz",
        "Homepage": "https://github.com/KmiQ/coinbase-advanced-python/"
    },
    "split_keywords": [
        "api",
        "coinbase",
        "bitcoin",
        "client",
        "crypto"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "8ad04ad3b9573e64e1c2d33ded6ed93e610d9a0e92ea218e86768b5a696cd8e9",
                "md5": "af4edb5d3a1bacc9987e57a98880b9fc",
                "sha256": "2605dea60723a0f4193c8ab81a9597e500b2cafcf87be938ef87cbab42d31955"
            },
            "downloads": -1,
            "filename": "coinbaseadvanced-1.1.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "af4edb5d3a1bacc9987e57a98880b9fc",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 25010,
            "upload_time": "2024-02-28T20:28:20",
            "upload_time_iso_8601": "2024-02-28T20:28:20.013472Z",
            "url": "https://files.pythonhosted.org/packages/8a/d0/4ad3b9573e64e1c2d33ded6ed93e610d9a0e92ea218e86768b5a696cd8e9/coinbaseadvanced-1.1.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-02-28 20:28:20",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "KmiQ",
    "github_project": "coinbase-advanced-python",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "requirements": [],
    "lcname": "coinbaseadvanced"
}
        
Elapsed time: 0.19161s