Skip to content

A Python3 script to retrieve color palettes using the colourlovers web API.

License

Notifications You must be signed in to change notification settings

CGArtPython/get_color_palettes_py

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

get-color-palettes-py

A Python3 script to retrieve color palettes using the colourlovers web API.

Description

A script to retrieve the current most popular color palettes from www.colourlovers.com that have 5 colors.

Detailed description of the Colour Lovers web API can be found here:

This script was inspired by the work of Matt DesLauriers:

Getting Started

Dependencies

Installing

  • [Optional] Create a new Python virtual environment and activate it
  • Install colourlovers
    • install with pip install colourlovers

Executing program

  • Update palette_target_count in main.py and set the number of palette you want to retrieve from Colour Lovers web API
  • run the script from the command line: python main.py
    • Note: there is a 5 second sleep per request so we don't spam the colourlovers server.
  • the script will save into the palettes folder

Authors

Version History

  • 0.01
    • Initial Release

License

This project is licensed under the MIT License, see the LICENSE.md file for details.

Also license info can be found here: https://choosealicense.com/licenses/mit/

Acknowledgments

This project is standing on the shoulders of these projects:

About

A Python3 script to retrieve color palettes using the colourlovers web API.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages