Python for Digital Marketers

Fetch and Scrape Data for Business Purpose, and Automate your daily operation work. All of this is critical for not only you, but also your business to stay competitive and be successful.

Featured Video Play Icon

Chapter 63 – Company Financial News Scraper for the Top-down Analysis Using Easy2Digital News API

Industry and company up-to-date news helps you keep pace with the stock company you invested. Nevertheless, it is time consuming if you check one by one out of your investment dashboard. I daresay you feel excited if your stock dashboard can automatically refresh the company news every day using a financial news scraper. As a result, you can make decision always along with top-down industry and company news.

In this article, I’m going to introduce Easy2Digital financial news API 1.0 with the API script sample. With this API, you can build a financial news scraper for your specific collection of company symbols and integrate it with your stock monitor.

discord bot

Chapter 70 – Build a Discord Bot Using Python, Hikari, Lightbulb, MongoDB

Discord is a social media platform where large numbers of people can interact in the form of a community. Currently, it’s the most harmonious platform for NFT projects as they’re community-oriented. Furthermore, the platforms facilitate NFTs trading or brand NFT marketing through their freedom communication features and integration space with Crypto wallets, such as Collabland, Metamask. Last but not least, it also facilitates NFT gating in private communities.

In this article, I would walk through how to build a discord bot to further increase communication and navigation efficiency using Python, MongoDB, Hikari, and Lightbulb.

product detail page

Chapter 71 – Build Online Shop Product Detail Pages or PDP Using Flask, Javascript, Bootstrap

Product detail pages are the main functional substances for several critical purposes in business operations. Customers learn about your product and IWOM from PDPs, and it has a high weight to make customers determine whether to check out or not eventually. Online marketplace and social commerce platforms like Google Shopping, and TikTok shop open API integration for merchants to list products and generate organic traffic by connecting with PDP data feed. Marketers put effort to optimise the product conversion rate to increase investment ROI as PDP is one of the most important parts of the conversion funnel.

In this piece, I would attempt to go through how to build product detail pages in bulk using flask, Javascript, and Python from a Python developer perspective. If you are interested in building PDPs using flask, this piece would put you in the right shoes.

flask user login system

Chapter 69 – Build A Flask User Login System Using PyMongo

In this article, I would walk through how to use one of the MongoDB python modules - PyMongo to build a Flask user login system. The integration and development logic is similar to the one using the SQLALCHEMY database, however, there are some configuration and setting details that are unique and different from using MongoDB. 

If you like to use the non-SQL database to build your Flask user login system and manage your customer database, this piece would be your cup of tea.

Featured Video Play Icon

Chapter 67 – Linkedin User Profile Scraper Using Easy2Digital API, Company Name, Job Title

You have a list of company names and key contact point names, and you want to find their Linkedin profiles before outreach. The question is how to make it done automatically and save the cost as much as possible.

This is the purpose of the article here. I would walk through how to use Easy2Digital API of Linkedin profile scraper and very simple Python lines to scrape the Linkedin profile links.

mongodb altas

Chapter 66 – Flask Application Database Using MongoDB Atlas and Python to Better Big Data Management

The non-SQL database is more advanced and capable of handling big data with dynamic schema features. In the era of Big Data, the non-SQL server seems to have a bright future, although in some cases, end-to-end business data solutions are still suitable to utilize SQL databases.

In this article, I will go through how to leverage MongoDB Altas integrating with Flask Applications using Python. It’s right for you to apply this approach to application development.

Featured Video Play Icon

Chapter 64 – Etsy Product Scraper for Price Anchoring Reference Using Easy2Digital API

For the finance and marketing strategy, price anchoring consideration is critical. In terms of your product value-focused, either product functional value or trading value, or both of value on one product do need market price anchoring to set proper pricing. 

Etsy is listed in the NASDAQ Global Select security exchange, also it’s the largest craft and hand-made seller online B2C and C2C marketplace. It doesn’t matter whether your brand product pricing is higher or lower than a similar craft and hand-made individual top-selling brand in the same category. Conversely, the main question should be why your product pricing is supposed to sit at a higher or lower pricing point than theirs. Whether this strategy can convince your target customer to buy in.

In this article, I’ll go to share the ingredients to build an Etsy product scraper. By the end of this, you can refer to the method and also leverage Easy2Digital API to fetch the data.

flask search bar

Chapter 65 – Flask Search Bar Plus Dynamic Data Table Return Using Pandas and Python

A search box or search bar is a popular function applied on Web applications for visitors to look up things you are finding. A great UX search function can hugely shorten the information search journey and enhance the user experience. In this article, I will go through how to set up a fundamental search function using Flask and return data in the panda's data frame.

easy2digital apis

Chapter 62 – Intrinsic Value Scraper for Comparing BVPS vs Price per Share Using Easy2Digital API

Discounted value of the cash that can be taken out of a business during its remaining life, is a well-known intrinsic value explanation offered by Warren Buffett. In fact, the intrinsic value calculator has a top-down and simple way out although the bottom-up and in-depth one requires more input. 

In this article, I’ll walk you through how to leverage Easy2Digital API data to build an intrinsic value scraper using Python. By the end of this piece, you can quickly scrape and consolidate 5 metrics in bulk, and find out if the symbol candidate from your list is a potential undervalued one to add to the investment queue by BVPS vs price per share. 

easy2digital apis

Chapter 60 – Stock Symbol Data Scraper for Financial Ratio Analysis

Along with interest rates rising against inflation, global stock markets have been bearish and obviously continue to drop as inflation kind of hovers over in a higher position and might last for a long period before pushing it down. 

From a standpoint of the cost of buying in the stock market, this is absolutely a good chance to observe the momentum and estimate the time bottoming out. It’s because this timing is easier for us to analyze and identify undervalued companies compared to the previous QE era, notably now companies are confronting the increasing cost of debt and economic recession challenges. Who can stay still, who is the ACE? 

If you are an investor in mutual funds, ETFs, trusts, Stock, and so on. This article can help you build a stock symbol data scraper for analyzing financial ratios in bulk using Python, FMP, and Easy2Digital API.

gmail smtp

Chapter 59 – Using Python and Gmail SMTP to Automate Sending Personalised Emails

From a marketing perspective, organic traffic is not just limited to SEO. Conversely, it covers a wide range of traffic sources as long as the majority percentage of investment is focused on manpower. They can be social media, partnership, VoD, email and so on. Compared to these channels in terms of organic traffic, email marketing is still the most efficient approach in one-to-one conversation marketing with a higher new customer conversion rate and lower cost per retention notably in the eCommerce and B2B sectors.

Basically we have two options out there if leveraging the magic of email marketing - Paid and Free platform. If a long term investment return is your preference rather than you being restricted by the platform recurring payment fees, this article can fit your stomach.

This piece expands on how to save 90% of your manual email marketing campaign time by using Gmail and Python script. By the end of this article, you and your team can write a Python script to build an email blast system using Gmail.

flask login

Chapter 57 – Build the User Account Login and Authentication System Using Flask, SQLAlchemy

User-based and customer-oriented are super popular in nowadays’ business model. Apart from web 2.0, web 3.0 more emphasizes decentralisation and gives back more data authority and data management to current users. So an user-centralization approach trend is arising and it just would be more important. So regarding buidling an application using Flask, user login and authentication system is a basic function it must have. Today is on how to leverage Flask login manager and build one in your application.

flask limiter

Chapter 56 – Use Flask Limiter to Customise Rate Limits on Web Application, API & SaaS Usage

The fundamental approach of SaaS or BaaS or API monetization is to provide customers with different service and plan options by customizing the rate limits. So users can select and buy the plan quota they think it’s sufficient and pay for a reasonable price. Flask limiter has existing modules and parameters for your application to adopt. It’s easy and lightweight to upgrade your SaaS with this extension.

google cloud platform

Chapter 52 – Utilise Google Cloud Platform to Implement Python Script Automation with Cloud Function and Cloud Scheduler

This python tutorial is relevant to coach how to automate your Python applications with the Google cloud platform. Compared to local device crontab and cron jobs, Cloud platforms like Google can allow your application 24 hours and 7 days stand-by and run by triggering preset events. You need to either keep the laptop running 24 hours or sit beside the device to monitor. I will take the trending topic bot for example and walk you through all components and script codings.

Featured Video Play Icon

Chapter 47: Product Price Trackers of Google Shopping, Walmart, HomeDepot Product Using Easy2Digital APIs

In this Python Tutorial, I would talk about how to create price trackers for three popular retail marketplaces or channels from an eCommerce seller perspective. In this tutorial, we would use some modules listed as below and by the end of it, you can use a tracker built by yourself. Refreshing a dashboard every morning can become part of your lifestyle that relieves your busy work.

meta ads

Chapter 45: Meta Ads Campaign Creation and Optimization Using Facebook Business, Graph, and Easy2Digital APIs

Along with user data privacy being cared for and protected more than ever, Meta has pledged to build an advertising ecosystem that relies on fewer data. It looks like the social media giant looks to push forward with its privacy agenda. Recently Meta has announced more removal of Facebook Ads audience targeting options across four categories. Plus the stress and impact from industrial players like iOS upgrade, I believe platform players just would have more new changes that create more challenges for marketers to reach out to customers accurately like before. 

However, the fact is platforms are shifting the data protection liability to the brands and marketers. For continuing monetizing the inventory without user privacy limitations, platforms are providing more mature marketing APIs for brands to adopt and leverage to reach out to target audiences even much better than before. And the brands and marketers build the target feature themselves at this time. This article is about how to leverage Meta APIs to create and update your Facebook, Instagram, Messenger, Whatsapp ads.

Featured Video Play Icon

Chapter 41: Build a Keyword Data Estimator Scrape Search Engine Keyword Volume, CPC Using Easy2Digital APIs and Python

Keyword volume and CPC are very familiar terms as long as you are running digital marketing campaigns and doing performance prediction. I believe it’s a critical signal to deploy content, budgeting between organic and paid media ads, and also evaluate a business investment. It’s because it represents the low funnel opportunities in a way.

However, it’s a pity in terms of keyword volume and CPC research that there are 3 challenges you might have experienced - Free lunch is not free, people manually input and download, and 3rd party software is experienced. So this article is a method to resolve this issue.

alibaba product sourcing scraper

Chapter 39 – Alibaba Bot for Scraping Product Price, MOQ, and Supplier Profiles

Stable and sustainable contribution from supply sides to any eCommerce business is a vital thing to succeed. It’s a tough task of course, so on and off identifying the potential suppliers is a must-have to-do-item. It’s not just for diversifying the suppliers, but also it’s a tip to optimize the landed cost and COGS. The question is how to save time to complete this task. Alibaba bot is the answer for you.

Chapter 38 – Build a CLV Calculator of SaaS, Subscription & Membership Plan Using Python, OOP

There is a saying “Starting a business is difficult and maintaining a business is even more difficult”. The truth is the competition indeed is getting more and more fierce along with more players joining the game and competing with you. New customer acquisition costs are definitely increasing, so the question is how to sustainably defend your business and maintain the customer loyal to your product and service. It’s for the purpose of maintaining business competition cutting-edge at the end and avoiding losing profit or even losing money. Understanding your customer lifetime value and calculating, getting a right number to refer is vital.

Featured Video Play Icon

Chapter 37 – Brand Info Bot for Scraping Brand Web Domains with Python and Easy2Digital APIs

An objective-oriented scraping project consists of many standalone Python bot scripts which can connect and function together. One of the most useful data used to scrape potential leads’ data must be the brand web domains. Basically we learn and know a brand from there. The question is how we are able to automatically grab in bulk instead of using Google search. This article tells how to make a bot with Python, Clearbit and Sqlite3

npv calculator

Chapter 36: Build an NPV Calculator in eCommerce Business Space Using Python

Global stock market is just like a roller coaster now, and if you are the passenger in the game, you might have a true feeling how exciting it is. Definitely we have alternatives out there, such as cryptocurrency, gold, etc. And private equity investment must be one of the options and eCommerce is a hot spotlight space. You can calculate the gold price by observing the historical trend and worldwide political, economic events. For the eCommerce business valuation, you can also have a calculator.