semvec/pypi-packages huggingface dataset:
nameko-stripe 0.1.3
Stripe dependency for Nameko

# nameko-stripe

Stripe dependency for Nameko

## Requirements

Python 3.4 - 3.7: Other versions may work but not supported.

## Installation

```
pip install nameko-stripe
```

## Usage

```python
from nameko.rpc import rpc
from nameko_stripe import Stripe


class MyService(object):
    name = "my_service"

    stripe = Stripe()

    @rpc
    def list_charges(self):
        return self.stripe.Charge.list()
```

## Setup

Simply add your api_key and log level into your config.yaml:

```yaml
AMQP_URI: 'amqp://guest:guest@localhost'
...

STRIPE:
  api_key: abc123
  log_level: info
```
python-fisco 0.0.7
Lib for fisco Private and Public API
Keywords: trading,bitcoin,japan,API,exchange

# python_fisco

[![CircleCI](https://circleci.com/bb/smapira/python-fisco.svg?style=svg)](https://circleci.com/bb/smapira/python-fisco)

Fisco API wrapper for Python 3.

Inspired by this wrapper written by 'zaifapi'.

## Install latest release:

```bash
pip install python-fisco
```

## Usage:

```python
from python_fisco import *
FiscoPublic().get_ticker('btc_jpy')
```

### Public Api

```python
# ticker
from python_fisco import *
FiscoPublic().get_ticker('btc_jpy')

# last_price
FiscoPublic().get_last_price('btc_jpy')

# trades
FiscoPublic().get_trades('btc_jpy')

# depth
FiscoPublic().get_depth('btc_jpy')

```

### Private API

```python
import os
from python_fisco import *
private_api = FiscoPrivate(os.environ.get('FCCE_KEY'), os.environ.get('FCCE_SECRET'))

private_api.get_info()

private_api.get_trade_history()

private_api.get_active_orders()

private_api.trade(currency_pair='btc_jpy', action='ask', price=700000, amount=0.001)

private_api.cancel_order(order_id=1)

private_api.withdraw(currency='btc', address='address', amount=0.001)

private_api.get_deposit_history('btc')

private_api.get_withdraw_history('btc')
```


## See

https://fcce.jp/api-docs