Home > News content

Click on the button to buy a button to the charity to donate $ 5

via:博客园     time:2017/2/8 17:00:18     readed:1441

Surely you must have heard that Amazon launched a key to buy the button, that is, what kind of point on the self-service intelligent hardware (barely count smart bar). More common in daily consumables, need to regularly buy goods, such as laundry liquid, milk, bath milk, paper diapers, milk powder and so on. Recently, a US programmer named Nathan Pryor modified the code to make the button a donation, and a $ 5 donation to a human rights organization. He posted his own development processMediumon.

In 2015, Amazon released a one-click purchase button (Dash Button). At that time there are technology enthusiasts try to break the product to have more features, but because of various technical limitations and hardware limitations, and did not succeed. 2016, Amazon released a customizable version of the one-button button "IoT Button", developers can modify their own code and features.

Of course, this customized version of the function is not so easy to implement. IoT Button requires API support, but Nathan Pryor does not have an API to do it. At this time he used the AWS Lambda service, with python web content automatically fill. Each point, automatically fill the page to fill in a name, address, credit card information, and then automatically submitted.

Ever since, he let the Amazon button to buy a button to achieve the automatic donation function. I remember we must put the child can not get the place, otherwise & hellip; & hellip;

China IT News APP

Download China IT News APP

Please rate this news

The average score will be displayed after you score.

Post comment

Do not see clearly? Click for a new code.

User comments