Home »  » Shapeways API » email notification
Search Search  
Show: Today's Messages    Show Polls    Message Navigator
email notification [message #26244] Wed, 20 April 2011 00:40 UTC Go to next message
avatar mctrivia  is currently offline mctrivia
Messages: 808
Registered: September 2010
Go to my shop
Senior Member
i just used api to upload 195 models. i got almost 400 emails. need an option to not get emails from api uploads


Follow me on twitter http://twitter.com/mctrivia or my blog at http://4ddice.blogspot.com/
Re: email notification [message #26248 is a reply to message #26244 ] Wed, 20 April 2011 02:36 UTC Go to previous messageGo to next message
avatar pete  is currently offline pete
Messages: 402
Registered: February 2008
Go to all my models
Senior Member
Co-Founder
OK! Fair enough Smile What are you using the API with? Solidworks? Blender? Something else? Would love to know...
Re: email notification [message #26251 is a reply to message #26248 ] Wed, 20 April 2011 02:50 UTC Go to previous messageGo to next message
avatar mctrivia  is currently offline mctrivia
Messages: 808
Registered: September 2010
Go to my shop
Senior Member
i wrote my own php script.


Follow me on twitter http://twitter.com/mctrivia or my blog at http://4ddice.blogspot.com/
Re: email notification [message #26252 is a reply to message #26244 ] Wed, 20 April 2011 03:07 UTC Go to previous messageGo to next message
avatar horst  is currently offline horst
Messages: 92
Registered: November 2010
Go to all my models
Member
I work here
Wow, that's a lot of emails! We'll definitely address this to make the deluge preventable.

-Ben


Shapeways Front-End Product Lead
Re: email notification [message #26253 is a reply to message #26251 ] Wed, 20 April 2011 03:17 UTC Go to previous messageGo to next message
avatar pete  is currently offline pete
Messages: 402
Registered: February 2008
Go to all my models
Senior Member
Co-Founder
Cool! Can you provide a little more details? Perhaps it is usable knowledge for others?
Re: email notification [message #26255 is a reply to message #26253 ] Wed, 20 April 2011 03:39 UTC Go to previous messageGo to next message
avatar mctrivia  is currently offline mctrivia
Messages: 808
Registered: September 2010
Go to my shop
Senior Member
I am not sure what you would like to know.

it is pretty easy to interface a web server with your server through the API. It is rediculously dificult to parse your main web site and interface that way. Unfortunetly your API has some majer restrictions which are keeping me from going public with my web site.

Major Problems:
1) No way to get hash code of hidden models. Need a findURL or findHash function.
2) No way to upload stl files larger then 16MB.

Minor Problems:
3) No way to restrict material types
4) No way to alter product pricing(If I could get 1 I could parse the page check the price is correct but even then I could not alter it. My pricing is usually +-2cents do to rounding errors)

The 195 dice I uploaded today were designed with Alibre bulk uploaded to my FTP server then wrote a script to quickly upload the entire batch to your server as it would have taken all day to manually upload through your interface.


As for what my web site it consists of 4 parts:

1) site code, lets user see initial page. This code runs once per page reload
2) ajax back end - handles interface between demons and the site code. Lets user see what is going on
3) render demon - This demon sits on server and takes render job cue and renders the jobs in order. I do jobs sequentially instead of in parallel so that the server does not crash from high load and so if the user leaves my site the job will keep going and I can send an email when it is done.
4) upload demon - This demon sits on server and uploads all finished rendered jobs sequentially to the server. I am doing these sequentially because I have a multi gigabit backbone connection and could probably take down shapeways if I tried to upload say 195 files in parallel.


Follow me on twitter http://twitter.com/mctrivia or my blog at http://4ddice.blogspot.com/
Re: email notification [message #26256 is a reply to message #26255 ] Wed, 20 April 2011 03:42 UTC Go to previous messageGo to next message
avatar pete  is currently offline pete
Messages: 402
Registered: February 2008
Go to all my models
Senior Member
Co-Founder
Would love to see your site: PM me if private atm.
Re: email notification [message #26257 is a reply to message #26256 ] Wed, 20 April 2011 04:30 UTC Go to previous messageGo to next message
avatar mctrivia  is currently offline mctrivia
Messages: 808
Registered: September 2010
Go to my shop
Senior Member
sent pm. would love to know what you think.


Follow me on twitter http://twitter.com/mctrivia or my blog at http://4ddice.blogspot.com/
Re: email notification [message #26270 is a reply to message #26244 ] Wed, 20 April 2011 09:15 UTC Go to previous messageGo to next message
avatar hans.lambermont  is currently offline hans.lambermont
Messages: 48
Registered: June 2010
Go to all my models
Member
I work here
Maybe it makes sense to limit the SOAP API mails to error mails only ?

-- Hans
Re: email notification [message #26276 is a reply to message #26270 ] Wed, 20 April 2011 15:21 UTC Go to previous messageGo to next message
avatar mctrivia  is currently offline mctrivia
Messages: 808
Registered: September 2010
Go to my shop
Senior Member
email on error is not ideal. ideal would be for you to triger a specific url on fail so my server can handle error.

how about on upload you add an 'onerror' field which contains an email address or a url. for simplicity if url send error information by get values.


Follow me on twitter http://twitter.com/mctrivia or my blog at http://4ddice.blogspot.com/
Re: email notification [message #26293 is a reply to message #26244 ] Wed, 20 April 2011 20:41 UTC Go to previous messageGo to next message
avatar horst  is currently offline horst
Messages: 92
Registered: November 2010
Go to all my models
Member
I work here
Hans--what do we lose if we simply switch for API notification entirely away from email and use URLs with get values instead? It's clearly more scalable and programmable for API users that way.


Shapeways Front-End Product Lead
Re: email notification [message #26312 is a reply to message #26293 ] Thu, 21 April 2011 08:09 UTC Go to previous message
avatar hans.lambermont  is currently offline hans.lambermont
Messages: 48
Registered: June 2010
Go to all my models
Member
I work here
horst wrote on Wed, 20 April 2011 20:41

Hans--what do we lose if we simply switch for API notification entirely away from email and use URLs with get values instead? It's clearly more scalable and programmable for API users that way.


Yes, I agree this is the better way. The only question remaining is how to prevent swapping an event-driven method for a polling one.

-- Hans

 
   
Previous Topic:Submit model -
Next Topic:Model upload API change proposal, your input is requested

Logo

Hello.

We're sorry to inform you that we no longer support this browser and can't confirm that everything will work as expected. For the best Shapeways experience, please use one of the following browsers:

Click anywhere outside this window to continue.