endoflife_date
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: 0.10.0
- Build package: org.openapitools.codegen.languages.RubyClientCodegen For more information, please visit https://github.com/cliffano/endoflife.date-api-clients
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-0.10.0.gem
(for development, run gem install --dev ./endoflife_date-0.10.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', '~> 0.10.0'
Install from Git
If the Ruby gem is hosted at a git repository: https://github.com/cliffano/endoflife.date-api-clients, then add the following in the Gemfile:
gem 'endoflife_date', :git => 'https://github.com/cliffano/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.