Gewichtsrechner Api Dokumentation
La api de peso no requiere autenticación y, por tanto, es accesible a todo el mundo. El único requisito es un enlace de vuelta a https://www.schmiedekult.de/ (z.B. powered by rapa GmbH) .La Api ofrece la posibilidad de calcular el peso en diferentes unidades para todos los materiales imaginables, ya que existe la posibilidad de introducir una densidad de material propia. Un ejemplo de integración se encuentra en https://www.schmiedekult.de/Gewichtsrechner
Acciones
Chapa metálica => https://efunnel.de/publicapis/weight/sheet
Varillas => https://efunnel.de/publicapis/weight/bar
Tubos => https://efunnel.de/publicapis/weight/pipe
Perfiles => https://efunnel.de/publicapis/weight/profile
Ángulo => https://efunnel.de/publicapis/weight/angle
Tipos de barras
Acero plano => https://efunnel.de/publicapis/weight/sheet
Acero redondo => RR
Acero hexagonal => SES
Tipos de tuberías
Tubo redondo => RR
Tubo cuadrado => RER
Tubo ovalado => OR
Tubo hexagonal => SER
Tipos de perfiles
Perfil en U => U
Perfil H => DT
Perfil en T => T
Perfil Z angular => ZE
Materiales
Acero => steel
Acero inoxidable => stainlesssteel
Aluminio => aluminum
Latón => brass
Cobre => copper
Unidades de peso
Tonelada => t
Kilogramo => kg
Decagrama => dg
Gram => g
Unidades de medida
Kilómetros => km
Metro => m
Decimetro => dm
Centímetro => cm
Milímetro => mm
Ejemplo de respuesta
{ "statusCode": int, "message": string, "result": double }
Ejemplo de solicitud Chapa metálica
Si tu material no es uno de los prefabricados, puedes sustituir "material": cadena por "customweight": doble, especificando la densidad del material. Si su material es el acero inoxidable, también debe añadir "materialtype": cadena donde se especifica V2A o V4A.
{ "height": double, "length": double, "width": double, "amount": int (optional), "material": string, "measurementunit": string (optional default is mm) "weightunit": string (optional default is kg) }
Ejemplo de solicitud Varillas
Si tu material no es uno de los prefabricados, puedes sustituir "material": cadena por "customweight": doble, especificando la densidad del material. Si su material es el acero inoxidable, también debe añadir "materialtype": cadena donde se especifica V2A o V4A.
{ "type": string, "diameter": double (For RR), "wrenchsize": double or "sidelength": double (For SES) "length": double, "amount": int (optional), "material": string, "measurementunit": string (optional default is mm) "weightunit": string (optional default is kg) }
Acero redondo Ejemplo
{ "type": "RR", "diameter": 5, "length": 1000, "amount": 2, "material": "stainlesssteel", "materialtype": "V2A", "weightunit": "g" }
Ejemplo de solicitud Tubos
Si tu material no es uno de los prefabricados, puedes sustituir "material": cadena por "customweight": doble, especificando la densidad del material. Si su material es el acero inoxidable, también debe añadir "materialtype": cadena donde se especifica V2A o V4A.
{ "type": string, "thickness": double, "diameter": double (For RR), "height": double (For RER), "width": double (For RER and OR), "wrenchsize": double or "sidelength": double (For SES) "length": double, "innercornerradius": double (For RER)(optional) "outercornerradius": double (For RER)(optional) "amount": int (optional), "material": string, "measurementunit": string (optional default is mm) "weightunit": string (optional default is kg) }
Ejemplo de solicitud Perfiles
Si tu material no es uno de los prefabricados, puedes sustituir "material": cadena por "customweight": doble, especificando la densidad del material. Si su material es el acero inoxidable, también debe añadir "materialtype": cadena donde se especifica V2A o V4A.
{ "height": double, "length": double, "width": double, "upperthickness": double, "sidethickness": double, "type": string, "amount": int (optional), "material": string, "measurementunit": string (optional default is mm) "weightunit": string (optional default is kg) }
Ejemplo de solicitud Ángulo
Si tu material no es uno de los prefabricados, puedes sustituir "material": cadena por "customweight": doble, especificando la densidad del material. Si su material es el acero inoxidable, también debe añadir "materialtype": cadena donde se especifica V2A o V4A.
{ "height": double, "length": double, "width": double, "thickness": double, "amount": int (optional), "material": string, "measurementunit": string (optional default is mm) "weightunit": string (optional default is kg) }
Si tiene alguna pregunta, no dude en ponerse en contacto con nosotros