View source: R/project_management.R
sst_pm_create_project | R Documentation |
Creates a new project in Serpstat.
sst_pm_create_project(api_token, domain, name, groups = NULL)
api_token |
(required) Serpstat API token from your profile. |
domain |
(required) Domain to get data for. |
name |
(required) The name of the project. Can be different from the domain. |
groups |
(optional) A list of project groups the project should be added to. |
Returns the project ID for the created project.
Check all the values for request and response fields here.
1 project credit.
## Not run:
api_token <- Sys.getenv('SERPSTAT_API_TOKEN')
sst_pm_create_project(
api_token = api_token,
domain = 'serpstat.com',
name = 'Serpstat'
)$data$project_id
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.