Home » Developers » Shapeways API » Feature Requests
Search Search  
Show: Today's Messages    Show Polls    Message Navigator
Feature Requests [message #26296] Wed, 20 April 2011 21:46 UTC Go to next message
avatar mctrivia  is currently offline mctrivia
Messages: 808
Registered: September 2010
Go to my shop
Senior Member
Ok so I have made my requests known in several locations. This is to make a list of requests. And keep track of there status. Admins please feel free to alter this first post to keep statuses and list up to date.

Important:
1) Return ID and Hash Code of object on upload.
Status: ID can be retrieved if application-id is set to 'generated-creator' but this is temporary work around. Hash Code can not be retrieved at this time.
2) Get Hash code of hidden object from id.
3) Upload files larger then 16MB
4) Get callback URL on render error.
5) Get product volume after upload
6) Change markup of a product.
7) Ability to set markup for each material type or set to -1 for not allowed.
8) Callback URL on product purchased/product shipped - I want my server to be able to monitor when products uploaded through API are purchased and shipped instead of emails.
9) function to compute volume of an object - You have something that computes the volume of the model we send to you. Strip it out package it in a small PHP object and give it to us so we can make sure we have the correct volume before uploading. If we have this then feature requests 5 & 6 are not strictly necessary.
10) dual key login system - Give each API creator a password. Each shop owner already has a password. The API creators password is publicly known the shops are not. You then make it so the API can log in as a shop by using the results of hash("sha512",$shopPassword.$APIpassword) instead of the shops password. The advantage to this is the API administrator does not need the shops password, and second if the API administrators site gets hacked you can just change the API's password and the database content becomes useless. Even if you encrypt your database this can be safely used by changinf $shopPassword to hash("sha512",yourhashfunction($shopPassword).$salt) then if your database gets hacked you just change $salt and everyone has to update before things work again.


Nice but not necessary:
1) Change description of a product - I uploaded 191 files but in description wrote 195. Lots of manual updating for me.

Please feel free to add your own and I will try to keep the list updated.

[Updated on: Mon, 02 May 2011 21:50 UTC]


Follow me on twitter http://twitter.com/mctrivia or my blog at http://4ddice.blogspot.com/
Re: Feature Requests [message #26301 is a reply to message #26296 ] Wed, 20 April 2011 23:26 UTC Go to previous messageGo to next message
avatar dizingof  is currently offline dizingof
Messages: 1288
Registered: October 2009
Go to all my models
Senior Member
I recently uploaded 295 models.. with almost all their info in only few hours... by coding an automated script using Autohotkeys software.

It will take a lot of the tedious/repetitive tasks off your hand - like for ex. choosing a set of materials for a specific category, batch uploading automatically etc..








http://www.3Dizingof.com


Re: Feature Requests [message #26322 is a reply to message #26296 ] Thu, 21 April 2011 17: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
As mentioned by mctrivia, you can retrieve a model ID for a public (not private) model, as visible in the following code:

if ($application_id == 'generated-creator') {
$returnValue = $modelEntity->id;
} else {
$returnValue = "successful";
}


Shapeways Front-End Product Lead
Re: Feature Requests [message #28811 is a reply to message #26322 ] Thu, 09 June 2011 13:06 UTC Go to previous messageGo to next message
avatar stonysmith  is currently offline stonysmith
Messages: 1685
Registered: August 2008
Go to my shop
Senior Member
moderator
Is (or can) it be possible thru the API to download a complete list of the items in my shop?

I need to check that all my models are properly assigned to the various shop sections, and it'd be really handy to help me review the current markups.


Patience, Persistance, Politeness - the 3Ps will help us get us to Perfect Printed Products
Re: Feature Requests [message #28814 is a reply to message #28811 ] Thu, 09 June 2011 13:56 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
stonysmith wrote on Thu, 09 June 2011 13:06

Is (or can) it be possible thru the API to download a complete list of the items in my shop?

I need to check that all my models are properly assigned to the various shop sections, and it'd be really handy to help me review the current markups.


It is not possible right now, because our API features are basically limited to uploading models.

It is possible to extend the API to include this feature, but it's not something I'm able to schedule for a while yet. We've got a lot of high-priority work in our roadmap right now, largely around improving our site's user experience.

-Ben


Shapeways Front-End Product Lead
Re: Feature Requests [message #33975 is a reply to message #26296 ] Wed, 07 September 2011 22:34 UTC Go to previous messageGo to next message
avatar minhloc  is currently offline minhloc
Messages: 8
Registered: May 2010
Go to my shop
Junior Member
the current markup input system could be better;

it takes a little while ( a few seconds ) to show the markup for each material, furthermore it is difficult to have an overview.

how about displaying all markup in one go (as a mini worksheet)
it would be easier to see and to update
combine this with a ticklist, and one would also know which material one wants for the model. (or no markup = material not chosen )

other suggestions: how about a markup as a percentage ?
then markup can follow materials price change automatically.

Cool

[Updated on: Wed, 07 September 2011 22:37 UTC]

Re: Feature Requests [message #34521 is a reply to message #26296 ] Sun, 18 September 2011 08:39 UTC Go to previous messageGo to next message
avatar macouno  is currently offline macouno
Messages: 107
Registered: April 2008
Go to my shop
Senior Member
I have to say I like the "markup as percentage" request. It's not necessary but would be nice.

More importantly I'm finding... I really need a status update/request. See my latest experiment here: http://ship.shapewright.com/

Let me explain what I'm doing now... I upload to shapeways from there... and retrieve the item id... so I can make a link to the item in my shop or the shopping basket.

Then I don't really want to give people a link to my shop where they will get a rather ugly page telling them the model is being processed. That's going to lose me 75% of customers if not more. So... I wrote a small script that checks to see if the model page at shapeways is available (has the right image tag in it). In the meantime I'm keeping people on my page, asking them to wait. Then once the shapeways page is up... I forward them straight to the shopping cart, adding my new product to it.

Here's the problem... There's no real status report on a specific model that I can get! So I'm forced to read the html... and that only tells me whether the model was processed successfully. If there's a problem with the model, I'll get that in my e-mail, but the page will get stuck on the "just wait". It would be perfect if we could request model status, and just have that return a nr... like 100 = ok & for sale, 200 = being processed still, 300 = something went wrong (and you could do 301 for problem type 1, 302 for 2 and so forth...)

And the second request has been mentioned before... the only way I can try to force material choice on my customers is by sending them to the cart in stead of my shop... not too nice...
Re: Feature Requests [message #34544 is a reply to message #34521 ] Sun, 18 September 2011 15:24 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
there is an undocumented way to restrict material choices. If I can find my code examples I will put it up. It seems shapeways has abandend the API.

[Updated on: Sun, 18 September 2011 15:25 UTC]


Follow me on twitter http://twitter.com/mctrivia or my blog at http://4ddice.blogspot.com/
Re: Feature Requests [message #34564 is a reply to message #26296 ] Mon, 19 September 2011 06:36 UTC Go to previous messageGo to next message
avatar macouno  is currently offline macouno
Messages: 107
Registered: April 2008
Go to my shop
Senior Member
If you can find it, that would be great!

BTW, if that is true... I think it's a huge mistake. It's perhaps a bit "early" for a full API. Because there's not that many people using it yet... but developing a proper nice one right now can only benefit them later on... This thing will only get bigger.
Re: Feature Requests [message #34568 is a reply to message #34564 ] Mon, 19 September 2011 11:51 UTC Go to previous messageGo to next message
avatar duann  is currently offline duann
Messages: 358
Registered: August 2008
Go to my shop
Senior Member
I work here
Oooh macouno,

I really like your latest projects feeding into the API.. Very Cool.



Duann Scott, Designer Evangelist, Shapeways
Re: Feature Requests [message #34601 is a reply to message #34564 ] Mon, 19 September 2011 18:13 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
when you submit a model. To restrict to just WSF you would add the following to the model array

'materials' => array('White, Strong & Flexible'),


Please not materials are case sensitive and must be exact. I asked for material number but they like making things hard.

If you want to allow in more then 1 then just add all others to array.


Follow me on twitter http://twitter.com/mctrivia or my blog at http://4ddice.blogspot.com/
Re: Feature Requests [message #34777 is a reply to message #26296 ] Wed, 21 September 2011 11:31 UTC Go to previous messageGo to next message
avatar macouno  is currently offline macouno
Messages: 107
Registered: April 2008
Go to my shop
Senior Member
Thanks dude, that's very helpfull!

I'll go try it out quick! And yeah... not very logical to do it based on text in stead of an id nr...
Re: Feature Requests [message #35095 is a reply to message #26296 ] Mon, 26 September 2011 07:32 UTC Go to previous messageGo to next message
avatar macouno  is currently offline macouno
Messages: 107
Registered: April 2008
Go to my shop
Senior Member
You know what....

It would really be nice to have the option to only have an error e-mail sent if a file is submitted from the API.

And perhaps... to also make that file available. Then we can check what is actually wrong with it. I think in my case it's people quitting the page whilst it's still uploading or something (happens once for every 100 uploads).
Re: Feature Requests [message #35099 is a reply to message #35095 ] Mon, 26 September 2011 10:08 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
use a cron job to do the render /upload. this way even if the user leaves the page your server keeps on going. It also reduceses server load if a lot of people use at once because your server will only process one at a time.


Follow me on twitter http://twitter.com/mctrivia or my blog at http://4ddice.blogspot.com/
Re: Feature Requests [message #35386 is a reply to message #26296 ] Thu, 29 September 2011 11:11 UTC Go to previous messageGo to next message
avatar macouno  is currently offline macouno
Messages: 107
Registered: April 2008
Go to my shop
Senior Member
Yeah that's what I'm doing. Or I am doing two things at the same time... I have a cron job that checks unchecked links to shapeways every 2 minutes... and if someone loads a model on a page I have a javascript thing requesting a check once every minute.. My server's fine so far.

Another thing though... My shop is filling up with customised objects... is there a way to keep them out of your "general shop"... or can we maybe open multiple shops? It's hard to find my non customisable stuff amongst 700 space ships Wink
Re: Feature Requests [message #35387 is a reply to message #35386 ] Thu, 29 September 2011 11:14 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 opened a second shopp called ICC (Instant Co Create) to stop this. The development team stopped work on the API before adding such important features as the ability to delete old models.


Follow me on twitter http://twitter.com/mctrivia or my blog at http://4ddice.blogspot.com/
Re: Feature Requests [message #36113 is a reply to message #26296 ] Fri, 07 October 2011 08:04 UTC Go to previous message
avatar macouno  is currently offline macouno
Messages: 107
Registered: April 2008
Go to my shop
Senior Member
Just in case the shapeways crew does read this, and may decide to pick up on the API development... here's another one...

Since I have 1400ish uploads to shapeways now... my shop is a huge big mess. You know what... I wouldn't mind at all if we could set a "lifetime" variable when uploading.

I think it would be fine to tell people "Your model will be available for a week". And if they order it inside that week you just keep a copy in the background for the production of it... but remove it from the store front... And as soon as all required copies have been produced... remove it.

 
   
Previous Topic:Other APIs planned?
Next Topic:Protecting shop from being flooded with 3D Models