Printables Application Programmable Interface (API)
 
Benachrichtigungen
Alles löschen

Printables Application Programmable Interface (API)  

  RSS
felix42sol
(@felix42sol)
Active Member
Printables Application Programmable Interface (API)

Does anybody know if there is a API to printables.com or a software project to automate tasks on printables.com?

I would be interested in tasks like "model creation and update", "collection management" and "search / make investigation" (searching for specific terms in models that have more than 10 makes)

Thanks in advance

     Felix

Veröffentlicht : 03/03/2024 9:41 am
_KaszpiR_
(@_kaszpir_)
Prominent Member
RE: Printables Application Programmable Interface (API)

AFAIR there is none.

There were threads on reddit about Prusa considering it and it looks like it was not published, status unknown.

 

See my GitHub and printables.com for some 3d stuff that you may like.

Veröffentlicht : 03/03/2024 12:50 pm
felix42sol
(@felix42sol)
Active Member
Themenstarter answered:
RE: Printables Application Programmable Interface (API)

Ok, so maybe I have to use Playwright to do my automation.

Veröffentlicht : 04/03/2024 7:31 pm
Diem
 Diem
(@diem)
Illustrious Member

Other than services provided - like Thingiverse migration, I think you'll find that bot interactions, once detected, will be blocked.  Whilst Prusa don't say I suspect they have been the target of a lot of malicious activity.  Printables is already flooded with huge numbers of garbage prints in search of prusameters - and some acting as containers for various sorts of illegal or otherwise undesirable files.  With a published API we would rapidly have script kiddies hooking up AI generated 'designs' at several hundreds a second 'though the predictable web interface only adds a little more complexity so we can expect them sooner or later.

Cheerio,

Veröffentlicht : 04/03/2024 11:47 pm
_KaszpiR_
(@_kaszpir_)
Prominent Member
RE: Printables Application Programmable Interface (API)

I'd say you're demonizing it, Diem 🙂

Properly set up API has requests limts per endpoint (or at least generic on to cover all of them on the root level) and those abusing it would be much more easily detected and blocked via API key they use, especially on writes.

Additionally any such activity could be put in a unpublished queue so even if they try to spam the API it would not be auto published unless you are reaching certain level that you need to get to be done manually or to be auto scanned with other tools.

See my GitHub and printables.com for some 3d stuff that you may like.

Veröffentlicht : 05/03/2024 6:20 am
Diem
 Diem
(@diem)
Illustrious Member

Maybe ... maybe not.  The attacks are real - Prusa don't say anything about it but a significant number of uploads are deleted every day.  API's and other methods to ease posting are regularly exploited wherever they are used so we must expect one to increase the garbage load.

And think about it - how many genuine designers would you expect to make use of  it?  Even the most prolific are unlikely to come up with more than one new, tested, documented design weekly - anything more frequent is likely to be a programmatic or parametric production so better posted as either a single design with instructions how to vary to taste or else a single collection of variants. 

An API would assist very few and increase ongoing curation work so it isn't an asset.

Cheerio,

Veröffentlicht : 05/03/2024 4:50 pm
felix42sol
(@felix42sol)
Active Member
Themenstarter answered:
RE: Printables Application Programmable Interface (API)

Good points. I started thinking about a python supported workflow to easier upload my models.

But zipping all the model files and using the clipboard to not edit my details in the browser would be enough for me. 

Miss-usage of free services are a pain for all users and providers. I understand that Prusa is not publishing an API, because I am one of the very few people that would put it to the use. Development costs of automation often do not really outweigh the time of doing it manually.

 

Veröffentlicht : 06/03/2024 7:13 am
_KaszpiR_
(@_kaszpir_)
Prominent Member
RE:

I believe there are already tools to walk over printables.com API just for data scraping.

Writing is another beast and probably requires much more effort and thus someone would need to be really focused on that - I guess content creators with massive number of models they need to support, Prusa itself ( I bet they do it already for administration) and a bunch of those people with too much time to nag others 😉

See my GitHub and printables.com for some 3d stuff that you may like.

Veröffentlicht : 06/03/2024 7:38 am
Teilen: