-
Notifications
You must be signed in to change notification settings - Fork 98
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Was octpart apikey invalidated? #331
Comments
Same here, thanks for the workaround @usk-johnny-s ! |
I didn't check this. But maybe we will have to create the structure to save the different users token, as proposed in #295. @usk-jonhy-s, just changing the api key makes KiCost works? Is this issue happening on the current code branch here in Git or just in the official release? The current key is not working at any time? (I have suspicious about the use of different users in different countries accessing at same time). |
It is important the #314 http code response implementation and warnings to help debug and the users to understand this. |
I installed by "Easy_install kicost” few weeks ago, it's version 1.0.3. I read octopart website, then I found some limitation to use.
I hope KiCost to require no additional fee for hobbyist. |
Confirmed here. It have also to be implemented the HTTP codes responses to give the correct warning in this cases We also need to achieve the usage terms (I have added some information and logos please, check it). |
To people that use the GUI, in configuration there is a filed to save your key. But you still have to register at www.octopart.com by your self. |
Even my personal KEY registered on 2018-10-30 have the status "Inactive pending Octopart approval". |
@hildogjr even if I regiested for an API key at octopart, and it has that status it still does not work it seems. I get the exception:
|
I add this exception to last release, to the user kwons. But appear that noone is able to do KiCost+Octopart API work. Maybe, we will have to implement the individual distributors (mouser, digikey, ...) API. In the current status of the team, this could leave the KiCost users without it for long time. We need some workaround. And join efforces to the others APIs. @debisme, are you having the same problem? |
I just tried version 0.1.47 and all I got was "TypeError: 'NoneType' object is not interable" on every test example I tried. This was the problem I pointed out long ago about using Octopart: if they decide to stop working, then everything stops working. Somebody should contact Octopart and ask why their stuff no longer works with KiCost. As for using the individual distributor APIs, I have zero interest in being involved in that. |
Well, I contacted Octopart today. Here is the main result:
So this would seem to end our short-lived love affair with Octopart. |
Is it possible to make it easier for each user to use its own key to access octopart API? |
@marcos-paltatech, for now (this code here in Git but not officially released) I create a field in the GUI to the user fill with it own KEY (this will be save and restored with the GUIDE). |
Sounds great, thanks! |
Well, octopart did not want to provide me with an API key, even when it was for personal usage. |
My key is broken as well and I used as academic research and developer here, never commercial. This is a big impact on KiCost. We leave the scrape method because it was begging impossible to maintenance and now this... |
Hi I can contact at least three PCBA manufacturers in Europe, and even a few more that I do not work with. |
I don't have option about and I think is better @xesscorp/@devbisme decide this kind of questions. I am just the main collaboration and programmer but not the original author of the tool.
The only way is each user have it own key. It could not be available with the KiCost code.
I am not a web programmer, I have not experience with this. |
They had also disabled my key, I contacted them and got this response. Me:
Them:
|
I also had exchanges with Octopart but they did not reactivate my key. |
I'll contact Octopart and see what their policy is regarding personal licenses and KiCost. If they'll allow those, then we can go that way and make sure we don't provide a global key in the KiCost distribution. I don't have any interest in creating a web service for handlingKiCost requests, whether this is tied to a prototype manufacturer or uses the distributor APIs directly. That's just too much boring work without pay. Others are free to fork KiCost and do what they want. |
Hi, |
I'm talking with Octopart about allowing individuals to get their own API keys to use with KiCost. If that falls through, we can take a look at oemsecrets. |
Likewise ended up having a conversation with Ryne concluding in receiving their pricing tier breakdown. Would be very keen to be able to use KiCost, to the point of happily paying for the service, but their min tier of $50/month for 5k requests would far exceed my needs. |
Were you going to use KiCost in a hobbyist or corporate role? Octopart seems to give out API keys for personal use (at least, they used to). Our problems really started when I released KiCost with my API code in it and everybody hammered their servers so they asked for $100/month. If you were using KiCost as a low-volume hobbyist, it would be telling if they wouldn't give you a key. |
I am using my personal hobbyist key now and works successful. |
It seems they don't really understand that it is an open source tool with disparate users that aren't related in any way. What they should do is integrate the code here so that you could upload an xml file and get a BOM on their site. That would allow them to get revenue for the clicks. In any event I am still using this code quite successfully with the very few requests I need. |
I tried to get a validated API Key without success :( |
Did you just request a key but they didn't activate it? |
Yes, I sent an email saying that it is only for personal usage some dozens of requests per month and they answer this: "Per our Terms of Use, free access is offered only for individuals using the API for educational purposes, with a valid .edu or other university email address." |
Thanks for that information. I'll go to my contact and see if that's their official stance for all new license requests. If so, it's pretty much going to end KiCost use unless we can find a way to get everyone a .edu email. |
:) |
Ha ha, wow! Probably shouldn't have posted that publicly. Octopart is probably watching. |
I just got word back from my contact at Octopart: they are no longer offering free access to their API unless you are a student. Based on that, I see two options:
As for option #1, I have no desire to keep working on this and trying to handle all the differences between various distributor APIs. If somebody else is interested, then they can do it. For option #2, I think any charges at all will massively decrease the number of people using KiCost, so it would probably be best to freeze it and let people use it at their own risk. I don't want to be getting problem reports from people who are angry that they are paying API access fees but KiCost is not doing exactly what they want. |
Agree with the two observations, @xesscorp. |
Moving on at #346 |
Hello everyone, It is my first post...
Yesterday I could get cost estimation by KiCost. But, Today kicost aborted by something.
I found error in debug log unfortunately.
I tests errored query directly by curl , but it get error.
Then I tests that I sign up octpart for get my apikey, and access by curl with my apikey.
It works correctly.
I patch KiCost that replace hardcoded apikey to my apikey in "def query(query):" at "kicost/distributors/dist_octopart.py". it works correctly.
I think hardcoded apikey of octpart was invalidated.
The text was updated successfully, but these errors were encountered: