In the open part, you will connect multiple APIs in a creative way. In the closed part, you will be working on a similar but simplified task: forming the longest word chain by connecting words as in Domino.
Given a list of words, your task is to find a string formed by chaining the highest number of words from the list. If there are multiple such strings, pick any single shortest string.
Two words can be chained together if a non-empty suffix of the first word is a prefix of the second word. For example, words
rainbow can be chained into string
camerainbow. Each word can be used at most once when forming the chain (but this doesn’t mean that it must occur at most once in the final string).
For example, for the words
or, the answer would be
Words: rush, writer, grate, ignorant, cloudy, chicken, illness, useless, challenge, comfortable, noxious, desk, shade, error, great, zonked, flagrant, cute, plan, daughter, dare, giraffe, sack, airplane, aunt, men, blood, vase, cheap, obsolete, tomatoes, receipt, festive, screeching, moor, ingredients, great, skill, us, expansion, rex, lesson, one, nemo
Task: Combine multiple (at least 2) APIs in a creative way.
- learn new things
- demonstrate the power of APIs – show us the most obscure APIs that you found, and the ways how they can be combined to create surprising and funny solutions
- have fun
- Creativity – be inventive in how APIs can be combined
- Originality – the more unique your solution is, the better (i.e. don’t try to replicate something that already exists)
- Functionality – your solution doesn’t have to be useful, but it has to be functional
- (secondary criteria) Numbers of APIs used – the more APIs you combine in a creative way, the better
Note: your solution for this challenge does NOT need to be useful 🙂 The point is to be creative and have fun.
Examples of APIs that you can combine:
Examples of good projects
An Android app that records calls, then uses Google’s speech-to-text API to convert the recording into text, then uses the Natural Language API to extract information about dates/places, then uses the Calendar API to schedule events in the calendar (based on information mentioned in the phone call), and the Contacts API to also invite the email of the person that you called with.
A web app that will ask you to name a place (such as High Tatras, Slovakia), and tell you, how much older or younger will you be (according to the Theory of Relativity) if you travel to that place and back home, compared to staying at home (the difference in age would vary by very tiny amounts, smaller than picoseconds or so). You age slower or faster by moving across different gravitational fields, which normally happens when changing the altitude. The app would use the IP-API to get the approximate coordinates of your IP address at home, then Google’s Geocoding API to get the coordinates of your named place, then the Elevation API to get the elevation of both locations. Finally, it uses the time dilation formulas to calculate the predicted difference in ageing.
Examples of bad projects
This is not a very creative combination of the APIs.
A web app that asks the user for a number, then uses the isEven API to print whether it’s even or odd
Although the app is definitely humorous, there was zero innovativeness involved in combining multiple APIs in a creative way.