/gmo-aozora-api-python

Python SDK for GMO Aozora Net Bank, Ltd.

Primary LanguagePythonMIT LicenseMIT

GMO Aozora Net Bank Open Api Python SDK

About

GMOあおぞらネット銀行について

https://gmo-aozora.com/

GMOあおぞらネット銀行 API開発者ポータルについて

https://api.gmo-aozora.com/ganb/developer/

Version

1.0.0

Requirements

Python 3.5+

Installation & Usage

pip install

pip install git+https://github.com/gmoaozora/gmo-aozora-api-python.git

Then import the package

import ganb_auth
import ganb_personal_client
import ganb_corporate_client
import ganb_webhook_client

Setuptools

python setup.py install --user

Then import the package

import ganb_auth
import ganb_personal_client
import ganb_corporate_client
import ganb_webhook_client

Getting start

Enviroment

Add the configuration below into your config file

  • stg

    conf.json

    {
        "AUTH_BASE_URL": "https://stg-api.gmo-aozora.com/ganb/api/auth/v1",
        "JWT_ISSUER": "https://stg-api.gmo-aozora.com/",
        "AUTH_PATH": "/authorization",
        "TOKEN_PATH": "/token",
        "SALT": "PleaseDefineYourself"
    }

    configuration.py - Personal

        self.host = "https://stg-api.gmo-aozora.com/ganb/api/personal/v1"

    configuration.py - Corporate

        self.host = "https://stg-api.gmo-aozora.com/ganb/api/corporation/v1"

    configuration.py - Webhook

        self.host = "https://stg-api.gmo-aozora.com/ganb/api/webhook/v1"
  • prod

    conf.json

    {
        "AUTH_BASE_URL": "https://api.gmo-aozora.com/ganb/api/auth/v1",
        "JWT_ISSUER": "https://api.gmo-aozora.com/",
        "AUTH_PATH": "/authorization",
        "TOKEN_PATH": "/token",
        "SALT": "PleaseDefineYourself"
    }

    configuration.py - Personal

        self.host = "https://api.gmo-aozora.com/ganb/api/personal/v1"

    configuration.py - Corporate

        self.host = "https://api.gmo-aozora.com/ganb/api/corporation/v1"

    configuration.py - Webhook

        self.host = "https://api.gmo-aozora.com/ganb/api/webhook/v1"

API Documents

Author

GMO Aozora Net Bank, Ltd. (open-api@gmo-aozora.com)

license

MIT