Skip to content
This repository has been archived by the owner on Feb 21, 2022. It is now read-only.

Aliases for color ids #75

Open
VoIlAlex opened this issue Mar 23, 2020 · 1 comment
Open

Aliases for color ids #75

VoIlAlex opened this issue Mar 23, 2020 · 1 comment

Comments

@VoIlAlex
Copy link

To specify the color of an object in Todoist API we should specify the color id, i.e. integer value. It would be much easier to use an alias for those ids, like RED instead of 31. Are there any options?

@VoIlAlex
Copy link
Author

I created a module called todoist-colors. Here is the repo.

Installation

Use the package manager pip to install foobar.

pip install todoist-colors

Usage

import todoist_colors
todoist_colors.RED

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant