pub struct ContentGenerationApi<'a> { /* private fields */ }Expand description
Content Generation API — text generation, paraphrasing, and grammar checks. See https://docs.dataforseo.com/v3/content_generation/overview/.
Implementations§
Source§impl ContentGenerationApi<'_>
impl ContentGenerationApi<'_>
Sourcepub async fn generate(
&self,
data: Vec<ContentGenerationApiGeneratePost>,
) -> DataForSeoApiResponse<ContentGenerationApiGenerate>
pub async fn generate( &self, data: Vec<ContentGenerationApiGeneratePost>, ) -> DataForSeoApiResponse<ContentGenerationApiGenerate>
Continues the input text. https://docs.dataforseo.com/v3/content_generation/generate/live/
Sourcepub async fn generate_text(
&self,
data: Vec<ContentGenerationApiGenerateTextPost>,
) -> DataForSeoApiResponse<ContentGenerationApiGenerateText>
pub async fn generate_text( &self, data: Vec<ContentGenerationApiGenerateTextPost>, ) -> DataForSeoApiResponse<ContentGenerationApiGenerateText>
Generates text from a topic and parameters. https://docs.dataforseo.com/v3/content_generation/generate_text/live/
Generates title and description meta tags for the input text. https://docs.dataforseo.com/v3/content_generation/generate_meta_tags/live/
Sourcepub async fn generate_sub_topics(
&self,
data: Vec<ContentGenerationApiGenerateSubTopicsPost>,
) -> DataForSeoApiResponse<ContentGenerationApiGenerateSubTopics>
pub async fn generate_sub_topics( &self, data: Vec<ContentGenerationApiGenerateSubTopicsPost>, ) -> DataForSeoApiResponse<ContentGenerationApiGenerateSubTopics>
Suggests subtopics for a topic. https://docs.dataforseo.com/v3/content_generation/generate_sub_topics/live/
Sourcepub async fn paraphrase(
&self,
data: Vec<ContentGenerationApiParaphrasePost>,
) -> DataForSeoApiResponse<ContentGenerationApiParaphrase>
pub async fn paraphrase( &self, data: Vec<ContentGenerationApiParaphrasePost>, ) -> DataForSeoApiResponse<ContentGenerationApiParaphrase>
Rewrites the input text. https://docs.dataforseo.com/v3/content_generation/paraphrase/live/
Sourcepub async fn check_grammar(
&self,
data: Vec<ContentGenerationApiCheckGrammarPost>,
) -> DataForSeoApiResponse<ContentGenerationApiCheckGrammar>
pub async fn check_grammar( &self, data: Vec<ContentGenerationApiCheckGrammarPost>, ) -> DataForSeoApiResponse<ContentGenerationApiCheckGrammar>
Checks the grammar and spelling of the input text. https://docs.dataforseo.com/v3/content_generation/check_grammar/live/
Sourcepub async fn check_grammar_languages(
&self,
) -> DataForSeoApiResponse<ContentGenerationApiCheckGrammarLanguage>
pub async fn check_grammar_languages( &self, ) -> DataForSeoApiResponse<ContentGenerationApiCheckGrammarLanguage>
Languages supported by the Check Grammar endpoint. https://docs.dataforseo.com/v3/content_generation/check_grammar/languages/
Sourcepub async fn grammar_rules(
&self,
) -> DataForSeoApiResponse<ContentGenerationApiGrammarRules>
pub async fn grammar_rules( &self, ) -> DataForSeoApiResponse<ContentGenerationApiGrammarRules>
Grammar and spelling rules used by the Check Grammar endpoint. https://docs.dataforseo.com/v3/content_generation/grammar_rules/
Sourcepub async fn text_summary(
&self,
data: Vec<ContentGenerationApiTextSummaryPost>,
) -> DataForSeoApiResponse<ContentGenerationApiTextSummary>
pub async fn text_summary( &self, data: Vec<ContentGenerationApiTextSummaryPost>, ) -> DataForSeoApiResponse<ContentGenerationApiTextSummary>
Analyzes structure and readability of the input text. https://docs.dataforseo.com/v3/content_generation/text_summary/live/
Sourcepub async fn text_summary_languages(
&self,
) -> DataForSeoApiResponse<ContentGenerationApiTextSummaryLanguage>
pub async fn text_summary_languages( &self, ) -> DataForSeoApiResponse<ContentGenerationApiTextSummaryLanguage>
Languages supported by the Text Summary endpoint. https://docs.dataforseo.com/v3/content_generation/text_summary/languages/