Implements methods for querying backlink data from Majestic using its API. Majestic API uses a basic authentication with an API key. This package is used in the "Do You Need Backlinks for SEO?" tutorial (french version: "Avez-vous vraiment besoin de backlinks ?").
#CRAN R (official version)
install.packages("majesticR")
#Github (dev version)
devtools::install_github("remibacha/majesticR")
Get your Majestic API key (you will have to replace the "xxxxxxxxxxxxxxxxxxx" in above examples with it) and load the majesticR package :
library(majesticR)
This function provides all backlink data of an URL, including its CitationFlow, TrustFlow, and Root domain.
url <- "https://dataseolabs.com/en/"
api_key <- "xxxxxxxxxxxxxxxxxxx"
majestic_domain(url, api_key)
This function first extract the root domain from an URL, then provides all backlink data of the domain, including its CitationFlow, TrustFlow, and Root domain.
url <- "https://dataseolabs.com/en/"
api_key <- "xxxxxxxxxxxxxxxxxxx"
majestic_domain(url, api_key)
This function provides both all backlink data of and URL and its roots domain, including its CitationFlow, TrustFlow, and Root domain.
url <- "https://dataseolabs.com/fr/"
api_key <- "xxxxxxxxxxxxxxxxxxx"
majestic_all(url, api_key)
Questions and feedbacks welcome!
You want to contribute ? Open a pull request ;-) If you encounter a bug or want to suggest an enhancement, please open an issue.