EndOfLifeDateApiClient - the Ruby gem for the endoflife.date
Documentation for the endoflife.date API. The API is currently in Alpha. Additional information about the API can be found on the endoflife.date wiki
This SDK is automatically generated by the OpenAPI Generator project:
- API version: 0.0.1
- Package version: 1.0.1-pre.0
- Generator version: 7.9.0
- Build package: org.openapitools.codegen.languages.RubyClientCodegen For more information, please visit https://github.com/oapicf/endoflife.date-api-clients
To build the Ruby code into a gem:
gem build endoflife_date.gemspec
Then either install the gem locally:
gem install ./endoflife_date-1.0.1-pre.0.gem
(for development, run gem install --dev ./endoflife_date-1.0.1-pre.0.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 'endoflife_date', '~> 1.0.1-pre.0'
If the Ruby gem is hosted at a git repository: https://github.com/oapicf/endoflife.date-api-clients, then add the following in the Gemfile:
gem 'endoflife_date', :git => 'https://github.com/oapicf/endoflife.date-api-clients.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 'endoflife_date'
api_instance = EndOfLifeDateApiClient::DefaultApi.new
begin
#All Products
result = api_instance.get_api_all_json
p result
rescue EndOfLifeDateApiClient::ApiError => e
puts "Exception when calling DefaultApi->get_api_all_json: #{e}"
end
All URIs are relative to https://endoflife.date
Class | Method | HTTP request | Description |
---|---|---|---|
EndOfLifeDateApiClient::DefaultApi | get_api_all_json | GET /api/all.json | All Products |
EndOfLifeDateApiClient::DefaultApi | get_api_product_cycle_json | GET /api/{product}/{cycle}.json | Single cycle details |
EndOfLifeDateApiClient::DefaultApi | get_api_product_json | GET /api/{product}.json | Get All Details |
- EndOfLifeDateApiClient::Cycle
- EndOfLifeDateApiClient::CycleCycle
- EndOfLifeDateApiClient::CycleDiscontinued
- EndOfLifeDateApiClient::CycleEol
- EndOfLifeDateApiClient::CycleLts
- EndOfLifeDateApiClient::CycleSupport
Endpoints do not require authorization.