Questions about using shapeways API in my website

Discussion in 'Shapeways API' started by 219517_deleted, Jul 2, 2013.

  1. Hi all,

    I am newbie to Shapeways API. Actually what I want to do is to use ShapeWays API in my own website, which is also a scanned model sharing site.
    I am willing how could I use APIs to upload models , and to interactive viewing of the model on the site, using mouse operations.

    Thank you for your help to point me to a right direction.

    Best regards


    zhaoguang WANG
     
  2. hans_lambermont
    hans_lambermont Shapeways Employee Dev Team
    Hi zhaoguang WANG,

    Have a look at the https://developers.shapeways.com/getting-started?li=dh_gs page; first register your website as a Shapeways Application at https://developers.shapeways.com/manage-apps and then I suggest you have a look at the API reference clients and example code on Github at https://github.com/Shapeways/shapeways-api , the php-pecl examples are the most complete. It includes a model upload demo.

    We do not have this feature yet. Stay tuned !

    regards,
    Hans Lambermont
     
  3. Hi Hans ,

    thank you for your reply.

    I have browsed the tutorial page and the example page.
    I have one question about the pricing process. because i noticed that in the API documentation,

    POST /price/v1
    Parameters
    volume float required Model volume (cubic meters, use 0.000001 for cm^3)

    so, my question is that: if I have uploaded a model and call the server of shapeways to get the volume of my model.
    Could I do this ? does shapeways API supports this function ? or volume is a parameter.

    thank you

    regards


    zhaoguang