Create applications, register data, and share with a single email

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.

kintone API

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

Motivation

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.

image

Constitution

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.

image

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.

sendgrid/sendgrid-python

Microsoft Project Oxford

Microsoft's research institute publishes APIs such as image analysis and natural language processing.

Microsoft Project Oxford

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.

icoxfog417/pyoxford

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.

Natural Language Classifier

image

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.

icoxfog417/pykintone

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). ..

Implementation

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).

icoxfog417/kanaria

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

Create applications, register data, and share with a single email
Compile and run Rust with a single command
Create a batch of images and inflate with ImageDataGenerator
Create a 3D model viewer with PyQt5 and PyQtGraph
[Linux] Create a self-signed certificate with Docker and apache
Quickly create a Python data analysis dashboard with Streamlit and deploy it to AWS
Create a decision tree from 0 with Python and understand it (3. Data analysis library Pandas edition)
Create a web surveillance camera with Raspberry Pi and OpenCV
Create a homepage with django
Let's create a PRML diagram with Python, Numpy and matplotlib.
Create a dummy data file
Create a heatmap with pyqtgraph
Create a deploy script with fabric and cuisine and reuse it
Create a directory with python
Let's create a tic-tac-toe AI with Pylearn 2-Save and load models-
Make multiple numerical elevation data into a single picture with Python
Create a striped illusion with gamma correction for Python3 and openCV3
Get data from MySQL on a VPS with Python 3 and SQLAlchemy
Create a private DMP with zero initial cost and zero development with BigQuery
I tried to create Bulls and Cows with a shell program
Create a C ++ and Python execution environment with WSL2 + Docker + VSCode
Create a simple Python development environment with VS Code and Docker
Create a USB boot Ubuntu with a Python environment for data analysis
Create and return a CP932 CSV file for Excel with Chalice
Create a virtual environment with Python!
Create noise-filled audio data with SoX
Create a poisson stepper with numpy.random
Create a file uploader with Django
Access WebAPI with Python and register / acquire IoT data (dweet.io, Requests, HTTPie)
[AWS] Create a Python Lambda environment with CodeStar and do Hello World
Create a stack with a queue and a queue with a stack (from LetCode / Implement Stack using Queues, Implement Queue using Stacks)
[Outlook] I tried to automatically create a daily report email with Python
Create a Todo app with Django ④ Implement folder and task creation functions
Create a Python3 environment with pyenv on Mac and display a NetworkX graph
Make a decision tree from 0 with Python and understand it (4. Data structure)
Create a decision tree from 0 with Python and understand it (5. Information Entropy)
(Diary 1) How to create, reference, and register data in the SQL database of Microsoft Azure service with python
Data pipeline construction with Python and Luigi
Create a Python function decorator with Class
Build a blockchain with Python ① Create a class
Add a Python data source with Redash
[Python] Create a virtual environment with Anaconda
Let's create a free group with Python
Create a GUI app with Python's Tkinter
A memo with Python2.7 and Python3 on CentOS
Multilingualize webapp2 applications with pybabel and Jinja2
Create a large text file with shellscript
Create and decrypt Caesar cipher with python
Create a star system with Blender 2.80 script
Create a virtual environment with Python_Mac version
Create a VM with a YAML file (KVM)
Create a simple web app with flask
Create a word frequency counter with Python 3.4
Create a Connecting Nearest Neighbor with NetworkX
Create a web service with Docker + Flask
Read a character data file with numpy
Create a private repository with AWS CodeArtifact
Create a car meter with raspberry pi
Create a devilish picture with Blender scripts
Implement a model with state and behavior
Create a matrix with PythonGUI (text box)