| email notification [message #26244] Wed, 20 April 2011 00:40 UTC |
 |
|
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 |
  |
|
OK! Fair enough 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 |
  |
|
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 |
  |
|
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 |
  |
|
|
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 |
  |
|
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 |
  |
|
|
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 |
  |
|
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 |
  |
|
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 |
  |
|
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 |
  |
|
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 |
 |
|
| 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
|
|
|