Skip to main content
The Secret Of The Ultimate Valentine’s API
  1. Blog/

The Secret Of The Ultimate Valentine’s API

·3 mins·

Integration is red (it is my heart, after all), clouds are blue, interconnect everything and I’ll 💙  you!
With the theme of TIBCO NOW this year being “Digital Smarter”, I wanted to see if I could build the ultimate Valentine’s Day API using our own technology while considering the requirements that might impose on one’s choice of tech.

Valentine’s Day is traditionally the holiday where people receive cards from their significant others and secret admirers and is also a great day to have a first date. What to do on a first date? Catch a movie. According to research, one in ten people would ask someone out based on their movie preferences, so having the ability to connect to different film APIs could make or break that first date.

Another important aspect of Valentine’s Day and first dates? Candy. In fact, we collectively spend more than $1.7 billion on candy, and in the US, over 36 million boxes of chocolate are bought or shipped from stores or online. With chocolate, we need to not only interact with APIs, but also need to orchestrate calls to make sure the chocolate is bought first and shipped afterward. I can import all of these APIs into TIBCO Business Studio—Cloud Edition, wire them together, and add some logic – without writing a single line of code.

Now I have multiple APIs that I’m using and there is a bit of business logic in there to decide which API to call in each given situation. For example, if someone chooses Netflix over an in-person movie, they might want the chocolate to be delivered to their home. Now I need to model the specification of what I want to expose to my users, as that will be different than the APIs I’ve been using. Using the API Modeler of TIBCO Cloud Integration, I don’t have to worry about the syntax as I can see what the API will look like using the visual modeling capability.

Every year, there are about one billion Valentine’s Day cards sent to sweethearts, lovers, children, and teachers (in fact, teachers actually receive the most Valentine’s Day cards!) Apart from Christmas, Valentine’s Day is the largest card sending time of the year. A further requirement of our ultimate Valentine’s Day API is to be able to handle the one billion API calls coming in from Valentine’s cards. Luckily, with TIBCO Mashery, we’re absolutely able to handle that traffic!

So, my ultimate Valentine’s Day API is able to scale and handle high levels of traffic, orchestrates the use of other services, and is designed to my specifications without writing any code.

Want to build your own ultimate Valentine’s Day API (or any awesome API, for that matter)? Sign up for a free 30-day trial of TIBCO Cloud Integration to design and quickly build whatever API your heart desires. Join us for our upcoming webinars on the Spectrum of Integration, which will be available instantly on-demand after the live broadcast and demonstrate powerful tools to tackle cloud integration and cloud connection. Our first webinar, Connecting Cloud Services, is already available to watch, and our next webinar, How to Get Started with Containers and Hybrid Cloud, is coming up on 2/23. Register today!

Originally published on www.tibco.com

Related

How To Create An API Without Writing Any Code

·3 mins
To successfully compete or even survive in today’s ever-changing business climate, organizations need to become more agile. They need to respond to customer expectations and market changes more quickly. Companies are doing this by using and building APIs. APIs are the model for quickly building and growing successful businesses. The Internet has transformed from a network of informational web pages to an ecosystem of APIs and applications that work together to empower new applications, new businesses, new ways of working together, and new business opportunities.

CloudExpo 2016 - The Road to a Cloud First Enterprise

·1 min
Companies must find a way to join both paths and view the transition to digital as a unified journey, with the end goal clearly defined, then utilize APIs to help them get there faster. The question then becomes, how can companies and developers leverage ESBs, APIs, and a Fast Data platform to cultivate innovation?