Develop the API layer that will expose operations of the sentiment calculation algorithms. Consider Kotlin for Android and Swift for iOS.