Skip to content

itsthejoker/filamentcolors.xyz

Folders and files

NameName
Last commit message
Last commit date

Latest commit

20d90fb Β· Feb 4, 2025
Aug 11, 2024
Jan 19, 2025
Feb 4, 2025
Nov 16, 2022
Jan 19, 2025
Jun 19, 2020
Dec 21, 2018
Oct 31, 2023
Nov 27, 2024
Jun 29, 2023
Mar 17, 2022
Jan 20, 2025
Feb 4, 2025

Repository files navigation

filamentcolors.xyz

The source code for a small website to compare pieces of printed filament.

Public API

Please give credit if you use my work for your project! Let me know if you do use this for something; I always love to see how this information is used!

https://filamentcolors.xyz/api/

If you use my API for a project, I politely request that you check out my patreon to help pay for server costs: https://www.patreon.com/filamentcolors. I also have a way to do one-time donations of any amount here: https://buy.stripe.com/8wMbKg8UT4k8fBKaEE

API notes:

Please don't hammer the API if you're just checking for a specific piece of information like color values; instead, please keep a cache of the information that's important to you. There's a quick endpoint that you can use to validate that the information you have cached and the server information are the same.

Send a GET request to https://filamentcolors.xyz/api/version/; you'll get the following response: {"db_version": 1, "db_last_modified": 1586021667}. The db_version will be incremented if the schema changes (which for right now, assume that it is stable), and the db_last_modified key is an ISO timestamp of the last time there was a swatch uploaded.

If you have any questions, please feel free to reach out to me via email at [email protected]!