gabu / edinet_api_client

A Ruby Client for the EDINET API

Home Page:http://disclosure.edinet-fsa.go.jp/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

edinet_api_client

EdinetAPIClient - the Ruby gem for the EDINET API

EDINET API は、利用者が EDINET の画面からではなく、プログラムを介して EDINET のデータベースから効率的にデータを取得できる API(アプリケーション・プログラミング・インターフェース)です。EDINET API により、EDINET 利用者は効率的に開示情報を取得することが可能となります。

This SDK is automatically generated by the OpenAPI Generator project:

  • API version: 1.0.0
  • Package version: 1.0.0
  • Build package: org.openapitools.codegen.languages.RubyClientCodegen For more information, please visit https://twitter.com/gabu

Installation

Add this line to your application's Gemfile:

gem 'edinet_api_client'

And then execute:

$ bundle

Or install it yourself as:

$ gem install edinet_api_client

Getting Started

Please follow the installation procedure and then run the following code:

# Load the gem
require 'edinet_api_client'

api_instance = EdinetAPIClient::DefaultApi.new
date = '2019-04-01' # String | 出力対象とする提出書類一覧のファイル日付(YYYY-MM-DD形式)を指定します。
opts = {
  type: 1 # Integer | 取得情報を指定します。  * 1: メタデータのみを取得します。  * 2: 提出書類一覧及びメタデータを取得します。 
}

begin
  #書類一覧 API
  result = api_instance.find_documents(date, opts)
  p result
rescue EdinetAPIClient::ApiError => e
  puts "Exception when calling DefaultApi->find_documents: #{e}"
end

Documentation for API Endpoints

All URIs are relative to https://disclosure.edinet-fsa.go.jp/api/v1

Class Method HTTP request Description
EdinetAPIClient::DefaultApi find_documents GET /documents.json 書類一覧 API
EdinetAPIClient::DefaultApi get_document GET /documents/{docID} 書類取得 API

Documentation for Models

Documentation for Authorization

All endpoints do not require authorization.

About

A Ruby Client for the EDINET API

http://disclosure.edinet-fsa.go.jp/


Languages

Language:Ruby 99.6%Language:Shell 0.4%