![]() Once you have Streamlit installed and a Serpstack API key available, it is time to create the Python file where the application will be coded in. Run the Rank Tracker application on your computer Now, this is all pretty and dandy but you might have come here for the actual rank tracker application that can query multiple keywords against multiple domains at once, so let’s jump into this part of the article now. Once you have all of this set, you can run the whole script and it will print your result. In Line 11, you need to choose which domain you want to look for the keyword previously chosen.Īnd that’s it. In Line 10, you need to choose which keyword you want to check the ranking of. In Line 7, you can choose which Google domain you want to query such as, or else. ![]() In Line 4, you can choose whether you want to query the Desktop index, the Mobile index or even the Tablet index. In Line 1, replace the value of the variable with your own Serpstack API key. In terms of customisation and for it to work, you are going to want to edit a few lines there: This code can easily be ran within a terminal or a Jupyter notebook. Once you have your API key, you can run this code to see if your domain appears for any keyword of your choice in the first two pages of Google: How to check your keywords ranking with PythonĪt the heart of this whole application, we are going to use Serpstack’s API.īefore I share the entirety of the application with you, I do want to show you how this API works in its most bare bone use case. Īnd that’s it, we can now jump onto the code. ![]() Make sure that your version is at least 0.84 as the application I’m about to share with you uses features that have only been introduced from Streamlit 0.84. To install Streamlit on your machine, simply use the command “ pip install streamlit” in your terminal. They have been blowing up recently in the Technical SEO community and are definitely worth checking out if you’ve always wanted to create an actual application from your Python scripts. If you don’t know about Streamlit, they’re one of the latest web framework for Python developers and is geared towards people with no front-end coding experience. The second requirement to follow this article is to have Streamlit installed on your machine. The downside though is that for the same amount of calls as Serpstack’s cheapest premium plan, DataforSEO would be extremely more expensive. The upside of their API is that it works with credits instead of with a subscription, meaning that you can buy 50 USD worth of credits and keep them for as long as you need. I am also investigating creating the same tool that would be powered by the API from the fine folks at DataforSEO. Whether that’s worth it or not is subjective but for following the ranks of a few keywords for a few websites, I found that 100 calls per month was enough for me. They offer up to 100 monthly calls for free before asking you to upgrade to one of their premium plans which start at 29 USD/month for 5000 calls or 24 USD/month if billed annually. In order to retrieve the API key that you will need to have this interface working, just head over to this page and create an account. Serpstack presents themselves as a Real-Time and accurate Google API. The API that is going to power this application is provided by Serpstack. So without further ado, let’s jump into the code and how to run it on your own computer. Here is how the interface looks like when set up and working: Above that, you will have to pay a subscription but depending on your needs, it could be that 100 calls monthly will be plenty enough for you. It’s entirely free to run and uses an external API which offers 100 SERP calls a month for free. ![]() This application is a tool that allows you to retrieve the ranking position of multiple keywords for multiple domains. In this article, I want to share my own application that I made for technical SEO purposes. Thankfully, a new way of creating web applications in Python has recently caught my eye and lo and behold, it has made it extremely easy to convert your Python scripts into an actual web application that you can share with your peers. While they do seem extremely powerful, I always felt like I’m way over my head and need an extremely good understanding of these tools even if I want to create a very simple application. I have been fantasising about creating my own applications for a while now but have always felt overwhelmed when trying to learn web frameworks such as Flask or Django. Hey everyone, I hope you’re having a fantastic time wherever you are.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |