Skip to content

Latest commit

 

History

History
113 lines (75 loc) · 3.25 KB

File metadata and controls

113 lines (75 loc) · 3.25 KB

endoflifedate

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 Python package is automatically generated by the OpenAPI Generator project:

Requirements.

Python 3.7+

Installation & Usage

pip install

If the python package is hosted on a repository, you can install directly using:

pip install git+https://github.com/oapicf/endoflife.date-api-clients.git

(you may need to run pip with root permission: sudo pip install git+https://github.com/oapicf/endoflife.date-api-clients.git)

Then import the package:

import endoflifedate

Setuptools

Install via Setuptools.

python setup.py install --user

(or sudo python setup.py install to install the package for all users)

Then import the package:

import endoflifedate

Tests

Execute pytest to run the tests.

Getting Started

Please follow the installation procedure and then run the following:

import endoflifedate
from endoflifedate.rest import ApiException
from pprint import pprint

# Defining the host is optional and defaults to https://endoflife.date
# See configuration.py for a list of all supported configuration parameters.
configuration = endoflifedate.Configuration(
    host = "https://endoflife.date"
)



# Enter a context with an instance of the API client
with endoflifedate.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = endoflifedate.DefaultApi(api_client)

    try:
        # All Products
        api_response = api_instance.get_api_all_json()
        print("The response of DefaultApi->get_api_all_json:\n")
        pprint(api_response)
    except ApiException as e:
        print("Exception when calling DefaultApi->get_api_all_json: %s\n" % e)

Documentation for API Endpoints

All URIs are relative to https://endoflife.date

Class Method HTTP request Description
DefaultApi get_api_all_json GET /api/all.json All Products
DefaultApi get_api_product_cycle_json GET /api/{product}/{cycle}.json Single cycle details
DefaultApi get_api_product_json GET /api/{product}.json Get All Details

Documentation For Models

Documentation For Authorization

Endpoints do not require authorization.

Author

blah+oapicf@cliffano.com