endoflifedate 1.1.0
endoflife.date
License: MIT
Requires Python: >=3.9
Keywords: OpenAPI, OpenAPI-Generator, endoflife.date

# endoflifedate
The endoflife.date v0 API is currently deprecated, please [use the endoflife.date v1 API](https://endoflife.date/docs/api/v1/).

This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:

- API version: 0.0.1
- Package version: 1.1.0
- Generator version: 7.17.0
- Build package: org.openapitools.codegen.languages.PythonClientCodegen
For more information, please visit [https://github.com/oapicf/endoflife.date-api-clients](https://github.com/oapicf/endoflife.date-api-clients)

## Requirements.

Python 3.9+

## Installation & Usage
### pip install

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

```sh
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:
```python
import endoflifedate
```

### Setuptools

Install via [Setuptools](http://pypi.python.org/pypi/setuptools).

```sh
python setup.py install --user
```
(or `sudo python setup.py install` to install the package for all users)

Then import the package:
```python
import endoflifedate
```

### Tests

Execute `pytest` to run the tests.

## Getting Started

Please follow the [installation procedure](#installation--usage) and then run the following:

```python

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**](docs/DefaultApi.md#get_api_all_json) | **GET** /api/all.json | All Products
*DefaultApi* | [**get_api_product_cycle_json**](docs/DefaultApi.md#get_api_product_cycle_json) | **GET** /api/{product}/{cycle}.json | Single cycle details
*DefaultApi* | [**get_api_product_json**](docs/DefaultApi.md#get_api_product_json) | **GET** /api/{product}.json | Get All Details


## Documentation For Models

 - [Cycle](docs/Cycle.md)
 - [CycleCycle](docs/CycleCycle.md)
 - [CycleDiscontinued](docs/CycleDiscontinued.md)
 - [CycleEol](docs/CycleEol.md)
 - [CycleLts](docs/CycleLts.md)
 - [CycleSupport](docs/CycleSupport.md)


<a id="documentation-for-authorization"></a>
## Documentation For Authorization

Endpoints do not require authorization.


## Author

blah+oapicf@cliffano.com