New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

gbizinfo

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gbizinfo

  • 0.2.1
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

gbizinfo

Gbizinfo - the Ruby gem for the gBizINFO REST API

各REST APIはHTTPリクエストヘッダX-hojinInfo-api-tokenに動作確認用のAPIトークンDTcLxzo1lZaUYaQPVdSRxdS4MzlXNCs4を指定して動作を確認することができます。
※動作確認用のAPIトークンはこのページでの動作確認でのみ使用してください。
※REST APIを利用する際は必ず、Web API利用申請を行い、APIトークンを取得してください。

This SDK is automatically generated by the OpenAPI Generator project:

  • API version: 1.0
  • Package version: 0.2.1
  • Build package: org.openapitools.codegen.languages.RubyClientCodegen

Installation

Build a gem

To build the Ruby code into a gem:

gem build gbizinfo.gemspec

Then either install the gem locally:

gem install ./gbizinfo-0.2.1.gem

(for development, run gem install --dev ./gbizinfo-0.2.1.gem to install the development dependencies)

or publish the gem to a gem hosting service, e.g. RubyGems.

Finally add this to the Gemfile:

gem 'gbizinfo', '~> 0.2.1'

Install from Git

If the Ruby gem is hosted at a git repository: https://github.com/uichi/gbizinfo, then add the following in the Gemfile:

gem 'gbizinfo', :git => 'https://github.com/uichi/gbizinfo.git'

Include the Ruby code directly

Include the Ruby code directly using -I as follows:

ruby -Ilib script.rb

Getting Started

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

# Load the gem
require 'gbizinfo'

api_instance = Gbizinfo::GBizINFORESTAPIApi.new
x_hojin_info_api_token = 'x_hojin_info_api_token_example' # String | APIトークン
corporate_number = 'corporate_number_example' # String | 法人番号:法人番号を設定。  入力された法人番号を完全一致で検索。

begin
  #gBizINFOから届出・認定情報を取得します.
  result = api_instance.get_certification_using_get(x_hojin_info_api_token, corporate_number)
  p result
rescue Gbizinfo::ApiError => e
  puts "Exception when calling GBizINFORESTAPIApi->get_certification_using_get: #{e}"
end

Documentation for API Endpoints

All URIs are relative to https://info.gbiz.go.jp/hojin

ClassMethodHTTP requestDescription
Gbizinfo::GBizINFORESTAPIApiget_certification_using_getGET /v1/hojin/{corporate_number}/certificationgBizINFOから届出・認定情報を取得します.
Gbizinfo::GBizINFORESTAPIApiget_commendation_using_getGET /v1/hojin/{corporate_number}/commendationgBizINFOから表彰情報を取得します.
Gbizinfo::GBizINFORESTAPIApiget_finance_using_getGET /v1/hojin/{corporate_number}/financegBizINFOから財務情報を取得します.
Gbizinfo::GBizINFORESTAPIApiget_patent_using_getGET /v1/hojin/{corporate_number}/patentgBizINFOから特許情報を取得します.
Gbizinfo::GBizINFORESTAPIApiget_procurement_using_getGET /v1/hojin/{corporate_number}/procurementgBizINFOから調達情報を取得します.
Gbizinfo::GBizINFORESTAPIApiget_subsidy_using_getGET /v1/hojin/{corporate_number}/subsidygBizINFOから補助金情報を取得します.
Gbizinfo::GBizINFORESTAPIApiget_using_getGET /v1/hojin/{corporate_number}gBizINFOから法人基本情報を取得します.
Gbizinfo::GBizINFORESTAPIApiget_workplace_information_using_getGET /v1/hojin/{corporate_number}/workplacegBizINFOから職場情報を取得します.
Gbizinfo::GBizINFORESTAPIApisearch_info_using_getGET /v1/hojingBizINFOに登録された法人を検索します.
Gbizinfo::GBizINFORESTAPIPeriodSpecifiedSearchApiget_certification_update_info_using_getGET /v1/hojin/updateInfo/certificationgBizINFOから期間内に追加/更新された届出・認定情報を取得します.
Gbizinfo::GBizINFORESTAPIPeriodSpecifiedSearchApiget_commendation_update_info_using_getGET /v1/hojin/updateInfo/commendationgBizINFOから期間内に追加/更新された表彰情報を取得します.
Gbizinfo::GBizINFORESTAPIPeriodSpecifiedSearchApiget_finance_update_info_using_getGET /v1/hojin/updateInfo/financegBizINFOから期間内に追加/更新された財務情報を取得します.
Gbizinfo::GBizINFORESTAPIPeriodSpecifiedSearchApiget_patent_update_info_using_getGET /v1/hojin/updateInfo/patentgBizINFOから期間内に追加/更新された特許情報を取得します.
Gbizinfo::GBizINFORESTAPIPeriodSpecifiedSearchApiget_procurement_update_info_using_getGET /v1/hojin/updateInfo/procurementgBizINFOから期間内に追加/更新された調達情報を取得します.
Gbizinfo::GBizINFORESTAPIPeriodSpecifiedSearchApiget_subsidy_update_info_using_getGET /v1/hojin/updateInfo/subsidygBizINFOから期間内に追加/更新された補助金情報を取得します.
Gbizinfo::GBizINFORESTAPIPeriodSpecifiedSearchApiget_update_info_using_getGET /v1/hojin/updateInfogBizINFOから期間内に追加/更新された法人基本情報を取得します.
Gbizinfo::GBizINFORESTAPIPeriodSpecifiedSearchApiget_workplace_information_update_info_using_getGET /v1/hojin/updateInfo/workplacegBizINFOから期間内に追加/更新された職場情報を取得します.

Documentation for Models

Documentation for Authorization

Endpoints do not require authorization.

FAQs

Package last updated on 15 Sep 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc