endoflife_date

EndOfLifeDateApiClient - the Ruby gem for the endoflife.date

The endoflife.date v0 API is currently deprecated, please use the endoflife.date v1 API.

This SDK is automatically generated by the OpenAPI Generator project:

Installation

Build a gem

To build the Ruby code into a gem:

gem build endoflife_date.gemspec

Then either install the gem locally:

gem install ./endoflife_date-1.2.0.gem

(for development, run gem install --dev ./endoflife_date-1.2.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.2.0'

Install from Git

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

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 '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

Documentation for API Endpoints

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

Documentation for Models

Documentation for Authorization

Endpoints do not require authorization.