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;