Metadata-Version: 2.1
Name: cceyes
Version: 0.1.1
Requires-Python: >=3.6, <4
Description-Content-Type: text/markdown

# CCEyes Library

## Introduction

CCEyes is a Python CLI and library for the [CCEyes](https://cceyes.eu) project that allows you to easily access the CCEyes API.

## Installation

```bash
pip install cceyes
```

## Usage

### CLI

```bash
root@cceyes:~$ cceyes key
Enter your API key:
API key saved! 
root@cceyes:~$ cceyes me | jq
{
  "key": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
  "providers": [
    {
      "name": "BetaSeries",
      "type": "TV Series"
    }
  ]
}
root@cceyes:~$ cat ~/productions.json | cceyes upsert | jq
{
  "success": true
}
```

### Library

```python
import cceyes

cceyes.config.set_config('api', 'key', 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx')

productions = []
# your ETL logic goes here
# examples are located in examples/ folder

cceyes.providers.upsert(productions)
```

## License

[MIT](https://choosealicense.com/licenses/mit/)

## Resources

- [CCEyes Website](https://cceyes.eu)
- [CCEyes Platform](https://platform.cceyes.eu)
- [CCEyes Platform Specs](https://docs.cceyes.eu)
- [CCEyes API Documentation](https://api.cceyes.eu/docs)

## Funding

Funded by the European Union. Views and opinions expressed are however those of the author(s) only and do not necessarily reflect those of the European Union or EACEA. Neither the European Union nor the granting authority can be held responsible for them.Funded by the European Union. Views and opinions expressed are however those of the author(s) only and do not necessarily reflect those of the European Union or EACEA. Neither the European Union nor the granting authority can be held responsible for them.
