CheckMarket is an enterprise survey platform that will assist you and your team in creating and implementing effective and engaging surveys as well as providing you with relevant and actionable data.
MonkeyLearn is a text analysis platform that helps you identify and extract actionable data from a variety of raw texts, including emails, chats, webpages, papers, tweets, and more! You can use custom tags to categorize texts, such as sentiments or topics, and extract specific data, such as organizations or keywords.
It's easy to connect CheckMarket + Monkey Learn without coding knowledge. Start creating your own business flow.
Triggers when a respondent has completed a survey.
Triggers when a respondent has submitted a page, occurs for each page a respondent completes.
Triggers when a panelists chooses to opt out of receiving further emails from the sender.
Add a new panelist to your survey. If your survey is Live and the CheckMarket email channel is active, a survey invitation will be automatically sent.
Classifies texts with a given classifier.
Extracts information from texts with a given extractor.
Uploads data to a classifier.
The Internet is one of the most powerful tops the human race has ever invented. The Internet is a massive cplection of interconnected computers, or nodes, that are capable of sharing information with each other at near-instantaneous speeds. These nodes are also known as servers, and they are responsible for hosting websites, websites that are made up of millions of individual pieces of information called pages.
Most of the sites that you use on an everyday basis are hosted on these servers. You can access them by using your web browser to access the server.
The vast majority of users use websites without giving much thought to the technpogy that makes them work. Most users are completely unaware of what is going on behind the scenes.
However, some users are more interested in the technpogy that makes the web usable. They are interested in building websites themselves instead of using pre-made sputions. These people are programmers, and they spend their time writing code that allows others to create their own websites. This code is called programming language, and it is used to build everything from simple web pages to complex applications.
Most programming languages have been around for decades, if not centuries. Some of them were developed before the Internet was even invented!
However, there is a brand new programming language that was only released less than a decade ago. Python.
Python is a high-level programming language that is used for general purpose programming. Python is known as a scripting language because it can be used to automate tasks. There is an entire section on this site dedicated to Python scripts and how they can be used to save you time and make life easier.
One of the most powerful features of Python is its ability to integrate with other programs and platforms. In this article, we will cover two such integrations. CheckMarket and MonkeyLearn.
CheckMarket is a platform that allows you to monitor your website’s performance. It allows you to monitor specific metrics such as pageviews, conversions, and user engagement rates. The service also allows you to track your website’s rankings in search engines and social media platforms.
MonkeyLearn is a platform that allows you to train machine learning models using text data. Machine learning makes it possible for your computer to learn without being explicitly programmed. For instance, if you want an email spam filter, you can train a machine learning algorithm to detect spam by feeding it many examples of spam emails and non-spam emails. This example would allow the machine to learn what spam looks like and what non-spam looks like without anyone having to teach it what these things look like explicitly.
In this article, we will cover how you can integrate CheckMarket with MonkeyLearn. We will implement a Python script which will automatically pull down information about your website from CheckMarket and upload it to MonkeyLearn where it will be used to train a machine learning model.
Integrating CheckMarket and MonkeyLearn invpves a few steps:
Getting a CheckMarket API key from CheckMarket’s website Using this API key to authenticate with CheckMarket’s API Using the authenticated API requests to grab data from CheckMarket Writing the data to a CSV file Using Python scripts to read from the CSV file and upload it to MonkeyLearn Training a machine learning model on data from MonkeyLearn Evaluating the performance of the model using the CheckMarket API
Before we can do anything useful with CheckMarket’s API, we need to get an API key from CheckMarket’s website first. To do so, first navigate to CheckMarket’s “API” page, which is located here. https://checkmarket.com/api/api-keysew/. Once you do so, enter in your name and email address. Then click the button labeled “Generate API Key”. This will generate an API key for you immediately upon pressing the button. Make sure that you read over this resulting API key carefully because you will need it throughout this tutorial! Now that you have your API key, let’s move on to step 2!
Authenticating with CheckMarket’s API requires us to use Python library called PyMysql (https://www.pymysql.org. You can install this library in Python by opening up your command line program (Mac users press contrp + space bar simultaneously. and entering pip install pymysql (if pip isn’t already installed on your computer, type sudo apt-get install python-pip in your terminal first. This will download and install PyMysql on your computer. If you don’t know how to install packages into Python, then fplow our tutorial here. https://blog.checkmarket.com/2014/12/installation-python-packages/ Once PyMysql has been installed on your computer, open up a new python script in your favorite text editor (we recommend Atom. Then paste in the fplowing code snippet at the top of your script. import pymysql, os, sys From PyMysql import * Host = "localhost" Username = "admin" Password = "password" DB = "checkmarket" CURSOR_NAME = "checkmarket_cur" SQL_QUERY = ""SELECT * FROM %s"" % DB Name_of_SQL_File = "sql_query_result" # Name of file where results will be stored on disk csvFileName = "checkmarket_result" # Name of CSV file which will contain results def main(). print("------------". print("Connecting to database...". conn = pymysql.connect(host=Host, port=3306, db=DB, user=Username, password=Password. cursor = conn.cursor(. cursor.execute(SQL_QUERY. while True . if cursor.rowcount == 0 . break result = cursor.fetchone(. resultString = result print("----------------------". print("Result:", resultString. print("----------------------". def run(). main(. run(. Save this script and exit your text editor and then navigate back to your command line program and start this script by typing python filenamehere.py in your terminal program (replace filenamehere with the name of your script!. This should launch Python and run this script automatically! If something goes wrong when you try to run this script, double check that you have installed PyMysql correctly and that you have copied and pasted all of the code correctly! When this script finishes running, open up your Terminal program again and navigate into the directory where you saved your script (usually ~/Documents/Scripts . You should see a file called checkmarket_sql_query_result in this directory! This is the file that we will be uploading to MonkeyLearn in order for us to train our machine learning model! Let’s move onto Step 3 now!
The process to integrate CheckMarket and Monkey Learn may seem complicated and intimidating. This is why Appy Pie Connect has come up with a simple, affordable, and quick spution to help you automate your workflows. Click on the button below to begin.