Notifications
Clear all

API get data?  

  RSS
Ardumet_cz
(@ardumet_cz)
Active Member
API get data?

How to get data from an API that seems to be in JSON? Is getting data via GET or POST method. How do I insert the key, or .... are there instructions, examples somewhere?

Napsal : 28/05/2023 7:56 am
Tojik se líbí
Tysonsw
(@tysonsw)
Trusted Member
RE: API get data?

You can find a lot of the documentation in their github:

https://github.com/prusa3d/Prusa-Link-Web

Printer: Original Prusa Mini+
Nozzles: E3D 0.25, E3D Nozzle X 0.4 , E3D 0.4, Bondtech 0.6 CHL
Printables: Tysonsw
Mastodon: [email protected]
.

Napsal : 29/05/2023 1:11 pm
Tojik se líbí
Tojik
(@tojik)
Member Moderator
RE: API get data?

We sadly do not provide a how to guide on using it, but it's the same as any Rest API. The only difference might be the HTTP Digest authentication

Napsal : 29/05/2023 1:48 pm
Scott Gartner
(@scott-gartner)
Eminent Member
RE: API get data?

I know that this request is a little old, but I just published a a reverse proxy I wrote that you can use as sample code for how to use digest auth and call their API.  I only call two of the api endpoints, but adding the rest wouldn't be difficult work.  It's written in C# (.net core 7).

https://github.com/42degrees/PrusaPrinterApiForObs

Posted by: @ardumet_cz

How to get data from an API that seems to be in JSON? Is getting data via GET or POST method. How do I insert the key, or .... are there instructions, examples somewhere?

 

Napsal : 02/02/2024 4:09 am
Share: