shun-nakahara / gmo-aozora-api-go

Go SDK for GMO Aozora Net Bank, Ltd.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

GMO Aozora Net Bank Open Api GO SDK

About

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

https://gmo-aozora.com/

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

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

Version

1.0.0

Requirements

Golang 1.8+

Installation

  • get the repository from Github
    $ go get github.com/gmoaozora/gmo-aozora-api-go

  • get a package with the following command
    $ go get github.com/antihax/optional

Getting started

Enviroment

Add the configuration below into your config file
vi conf.json

  • 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.go - Personal

    	BasePath:      "https://stg-api.gmo-aozora.com/ganb/api/personal/v1",

    configuration.go - Corporate

    	BasePath:      "https://stg-api.gmo-aozora.com/ganb/api/corporation/v1",

    configuration.go - Webhook

    	BasePath:      "https://stg-api.gmo-aozora.com/ganb/api/webhooks/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.go - Personal

    	BasePath:      "https://api.gmo-aozora.com/ganb/api/personal/v1",

    configuration.go - Corporate

    	BasePath:      "https://api.gmo-aozora.com/ganb/api/corporation/v1",

    configuration.go - Webhook

    	BasePath:      "https://api.gmo-aozora.com/ganb/api/webhooks/v1",

Documentation

Autor

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

Licence

MIT

About

Go SDK for GMO Aozora Net Bank, Ltd.

License:MIT License


Languages

Language:Go 99.6%Language:Shell 0.4%