Metadata-Version: 2.1
Name: esporifai
Version: 0.2
Summary: A simple CLI to get data from the Spotify API
Home-page: https://github.com/chekos/esporifai
Author: Sergio Sánchez Zavala
License: Apache License, Version 2.0
Project-URL: Issues, https://github.com/chekos/esporifai/issues
Project-URL: CI, https://github.com/chekos/esporifai/actions
Project-URL: Changelog, https://github.com/chekos/esporifai/releases
Requires-Python: >=3.7
Description-Content-Type: text/markdown
Provides-Extra: test
Provides-Extra: jupyter
Provides-Extra: dev
License-File: LICENSE

# esporifai

[![PyPI](https://img.shields.io/pypi/v/esporifai.svg)](https://pypi.org/project/esporifai/)
[![Changelog](https://img.shields.io/github/v/release/chekos/esporifai?include_prereleases&label=changelog)](https://github.com/chekos/esporifai/releases)
[![Tests](https://github.com/chekos/esporifai/workflows/Test/badge.svg)](https://github.com/chekos/esporifai/actions?query=workflow%3ATest)
[![License](https://img.shields.io/badge/license-Apache%202.0-blue.svg)](https://github.com/chekos/esporifai/blob/master/LICENSE)

A simple CLI to get data from the Spotify API

## Installation

Install this tool using `pip`:

    pip install esporifai

## Usage

For help, run:

    esporifai --help

You can also use:

    python -m esporifai --help

### Recently played tracks
To retrieve recently played tracks, run:

    esporifai get-recently-played

For help,

    esporifai get-recently-played --help

## Development

To contribute to this tool, first checkout the code. Then create a new virtual environment:

    cd esporifai
    python -m venv venv
    source venv/bin/activate

Now install the dependencies and test dependencies:

    pip install -e '.[test]'

To run the tests:

    pytest
