![]() ![]() Each API is defined by a Javascript object that defines that API’s specific function calls, associated URLs, and parameters. Rather than trying to implement each of these APIs separately, I decided to build a data-driven, self-documenting, modular API processing system. Data-driven API Processing Eliminates the Tedium of Supporting Different APIs Because these APIs are exposed to the web, user authentication, URL validation, and API parameter validation are extremely important. Additionally, we needed the ability to quickly add other social and sharing services to the server, support API versioning, and a server administration and testing interface. Some of these interfaces are outgoing-only, but others, such as the e-mail and SMS interfaces, are two-way and may receive calls from the cloud at anytime. A photobooth client API to enable photobooth applications to access these web services.E-mail service to request and receive photobooth pictures.Text messaging (SMS and MMS) service to send and receive text messages and photobooth pictures.Cloud blob storage to temporarily store pictures.Cloud table storage for the server’s own data.The primary purpose of the web services server is to act as “glue” for all of these various services.įor this project, the initial set of APIs included: It seems that virtually every conceivable function is available via a REST API. The Problem: So Many APIs to Connect Together For these and other reasons, he wanted to create a web server to handle all of the social and sharing integration. ![]() Also, some recent changes in Tumblr’s API made uploading pictures directly from the client rather burdensome. ![]() However, he wanted to add more sharing and social functions, such as sending photobooth pictures to users via texting and e-mail. Until then, the photobooth software was a heavyweight client application. In 2013, I wrote a web services server for my friend’s popular photobooth software. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |