yunbi


Nameyunbi JSON
Version 0.2.2 PyPI version JSON
download
home_pagehttps://github.com/imlonghao/yunbi
SummaryA Python wrapper for the yunbi.com api
upload_time2017-08-15 02:27:49
maintainer
docs_urlNone
authorimlonghao
requires_python
licenseMIT License
keywords yunbi
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # yunbi
A Python wrapper for the yunbi.com api

![PyPI](https://img.shields.io/pypi/v/yunbi.svg?style=flat-square) ![license](https://img.shields.io/github/license/imlonghao/yunbi.svg?style=flat-square)

## Install

You can install and upgrade this wrapper from pip:

```
$ pip install -U yunbi
```

## Docs

This wrapper is based on the API list on yunbi.com, you can check it out from [YUNBI EXCHANGE API LIST](https://yunbi.com/swagger/#/default).

What you need to know is that,

in `get_trades` and `get_trades_my` functions, the official API use `from` as a key, which is also a reserved words in Python.

To solve this problem, you need to use `from_id` instead of `from`.

For example,

```
get_trades('ethcny', from_id=123456)
```

## Example

```
from yunbi import Yunbi

y = Yunbi() # Access to public API
y.get_tickers_market('ethcny') # Get ETH/CNY market's tickets

y = Yunbi('YOUR API KEY', 'YOUR SECRET KEY') # Access to public and private API
y.get_members_me() # Get your account information
```

## License

[MIT License](https://github.com/imlonghao/yunbi/blob/master/LICENSE)

            

Raw data

            {
    "_id": null,
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "cheesecake_code_kwalitee_id": null,
    "keywords": "Yunbi",
    "upload_time": "2017-08-15 02:27:49",
    "author": "imlonghao",
    "home_page": "https://github.com/imlonghao/yunbi",
    "github_user": "imlonghao",
    "download_url": "https://pypi.python.org/packages/ce/fb/348b4c9da12f08eb2686c9a36e01d7879bbcd0d36ce89979c58cfb3f22ed/yunbi-0.2.2.tar.gz",
    "platform": "any",
    "version": "0.2.2",
    "cheesecake_documentation_id": null,
    "description": "# yunbi\nA Python wrapper for the yunbi.com api\n\n![PyPI](https://img.shields.io/pypi/v/yunbi.svg?style=flat-square) ![license](https://img.shields.io/github/license/imlonghao/yunbi.svg?style=flat-square)\n\n## Install\n\nYou can install and upgrade this wrapper from pip:\n\n```\n$ pip install -U yunbi\n```\n\n## Docs\n\nThis wrapper is based on the API list on yunbi.com, you can check it out from [YUNBI EXCHANGE API LIST](https://yunbi.com/swagger/#/default).\n\nWhat you need to know is that,\n\nin `get_trades` and `get_trades_my` functions, the official API use `from` as a key, which is also a reserved words in Python.\n\nTo solve this problem, you need to use `from_id` instead of `from`.\n\nFor example,\n\n```\nget_trades('ethcny', from_id=123456)\n```\n\n## Example\n\n```\nfrom yunbi import Yunbi\n\ny = Yunbi() # Access to public API\ny.get_tickers_market('ethcny') # Get ETH/CNY market's tickets\n\ny = Yunbi('YOUR API KEY', 'YOUR SECRET KEY') # Access to public and private API\ny.get_members_me() # Get your account information\n```\n\n## License\n\n[MIT License](https://github.com/imlonghao/yunbi/blob/master/LICENSE)\n",
    "lcname": "yunbi",
    "name": "yunbi",
    "github": true,
    "coveralls": false,
    "bugtrack_url": null,
    "license": "MIT License",
    "travis_ci": false,
    "github_project": "yunbi",
    "summary": "A Python wrapper for the yunbi.com api",
    "split_keywords": [
        "yunbi"
    ],
    "author_email": "shield@fastmail.com",
    "urls": [
        {
            "has_sig": false,
            "upload_time": "2017-08-15T02:27:49",
            "comment_text": "",
            "python_version": "source",
            "url": "https://pypi.python.org/packages/ce/fb/348b4c9da12f08eb2686c9a36e01d7879bbcd0d36ce89979c58cfb3f22ed/yunbi-0.2.2.tar.gz",
            "md5_digest": "2cf4ba9530386255faaf6d46f6e4f68f",
            "downloads": 0,
            "filename": "yunbi-0.2.2.tar.gz",
            "packagetype": "sdist",
            "path": "ce/fb/348b4c9da12f08eb2686c9a36e01d7879bbcd0d36ce89979c58cfb3f22ed/yunbi-0.2.2.tar.gz",
            "size": 4297
        }
    ],
    "cheesecake_installability_id": null
}
        
Elapsed time: 0.05263s