
Security News
CISA’s 2025 SBOM Guidance Adds Hashes, Licenses, Tool Metadata, and Context
CISA’s 2025 draft SBOM guidance adds new fields like hashes, licenses, and tool metadata to make software inventories more actionable.
Kendama - the Ruby gem for the 国税庁API
国税庁が提供するインボイス制度適格請求書発行事業者公表システムWeb-APIを使用するためのクライアントAPI(https://www.invoice-kohyo.nta.go.jp/web-api/index.html)
This SDK is automatically generated by the OpenAPI Generator project:
To build the Ruby code into a gem:
gem build kendama.gemspec
Then either install the gem locally:
gem install ./kendama-1.0.1.gem
(for development, run gem install --dev ./kendama-1.0.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 'kendama', '~> 1.0.1'
If the Ruby gem is hosted at a git repository: https://github.com/uichi/kendama, then add the following in the Gemfile:
gem 'kendama', :git => 'https://github.com/uichi/kendama.git'
Include the Ruby code directly using -I
as follows:
ruby -Ilib script.rb
Please follow the installation procedure and then run the following code:
# Load the gem
require 'kendama'
api_instance = Kendama::V1Api.new
id = 'id_example' # String |
from = Date.parse('Tue Oct 01 09:00:00 JST 2024') # Date |
to = Date.parse('Tue Oct 01 09:00:00 JST 2024') # Date |
type = '21' # String |
opts = {
division: '1', # String |
divide: 'divide_example' # String |
}
begin
#取得期間を指定して情報を取得
result = api_instance.get_announcement_by_diff(id, from, to, type, opts)
p result
rescue Kendama::ApiError => e
puts "Exception when calling V1Api->get_announcement_by_diff: #{e}"
end
All URIs are relative to https://kensyo.invoice-kohyo.nta.go.jp
Class | Method | HTTP request | Description |
---|---|---|---|
Kendama::V1Api | get_announcement_by_diff | GET /1/diff | 取得期間を指定して情報を取得 |
Kendama::V1Api | get_announcement_by_number | GET /1/num | 登録番号を指定して情報を取得 |
Kendama::V1Api | get_announcement_by_valid | GET /1/valid | 登録番号と日付を指定して情報を取得 |
Endpoints do not require authorization.
FAQs
Unknown package
We found that kendama demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
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.
Security News
CISA’s 2025 draft SBOM guidance adds new fields like hashes, licenses, and tool metadata to make software inventories more actionable.
Security News
A clarification on our recent research investigating 60 malicious Ruby gems.
Security News
ESLint now supports parallel linting with a new --concurrency flag, delivering major speed gains and closing a 10-year-old feature request.