Kintone is a convenient service by itself, but the range of utilization can be expanded by using the API. In particular, I think it's hard to publish APIs for creating and modifying applications.
So, this time, I will introduce an example of linking kintone with a contact method called e-mail that anyone can easily send, from creating an application to registering data and sharing it.
This matter has been announced at kintone devCamp 2015. If you are interested, please see the presentation materials.
kintone devCamp 2015 ultra fast improvement
Sharing awareness is essential for improving operations. Well-known are the hiyari hats. However, these findings are volatile, and if you say "Open a business system ~" or "Contact the system administrator ~" to share it, it will be troublesome to share. Will be gone.
Therefore, the motivation is to build a platform that can be shared the moment you notice it. Specifically, we will use a simple contact tool to create a sharing platform (= app), register data there, and share it with members.
As a "simple contact tool", a chat tool such as LINE was really good, but I felt that I had to spend a little money to use the API, so I will email it this time.
The overall structure looks like the following.
SendGrid
It is a platform that can send emails, detect receipts, etc. via API. The usage is very well organized in the following blog, so please refer to it.
[MA: Techblog / SendGrid] Email API that has a high affinity with the world of the Web
SendGrid has an official Python SDK, so I used it this time.
Microsoft Project Oxford
Microsoft's research institute publishes APIs such as image analysis and natural language processing.
There are a lot of demos, so I think it's interesting to try various things. We have released a library for easy use from Python, so please use it if you like. This time, I am also using the Microsoft Translator API, but since it also supports that person, it can also be used for translating text and then synthesizing speech.
Watson
It is a general term for APIs for natural language processing that can be used on IBM Bluemix. This time, I used NLC, which can classify natural languages.
Watson officially publishes the Python SDK, which you can easily embed in your application.
watson-developer-cloud/python-sdk
kintone
And we are kintone. We have released the Python SDK, so we will use it this time.
It also supports the deployment API, which is the key to creating and changing applications.
Other Python Libraries
In addition, I will summarize the libraries and tools used.
I also used a tool called ngrok to test the integration with SendGrid. This is a tool that can assign a global IP to a local server, which is useful for testing applications that work with WebHook services. It's too convenient to put into words, so I hope everyone will be happy to use it (see here for details on how to use it). ..
Here's what I actually built (I'm not in time at the time of writing (12/4), but I'm thinking of adding a Heroku Button).
The following points were actually difficult.
It may be difficult to run because there are many APIs that need to be registered, but if you are interested, please try running the source of GitHub (* I will write the early document).
In this way, I think that it is kintone's flexible work to be able to automatically create applications and add / delete items. We hope that you will use this flexible platform for various services.
Recommended Posts