MarsX-dev / seobot

https://seobotai.com
1 stars 2 forks source link
ai blog blog-article seo

SEObot Blog API Client library

Overview

Elevate your website by integrating SEObot's Blog API. This setup allows you to fetch and render real-time, SEO-optimized blog content directly into your website.

Demo

Visit the DevHunt Blog to check out an example of SEObot Blog API integration.

Checkout Next.js integration example at seobot-nextjs-blog repository.

Prerequisites

SEObot API Key - you can find the API key in settings on app.seobotai.com

Features

Installation

To install the seobot npm package, run:

npm install seobot

Usage

import { BlogClient } from 'seobot';

const client = new BlogClient('your_seobot_api_key_here');

Fetching Articles

const articles = await client.getArticles(page, limit);

Fetching Articles by Category

 const articles = await client.getCategoryArticles(categorySlug, page, limit);

Fetching Articles by Tag

const articles = await client.getTagArticles(tagSlug, page, limit);

Getting a Single Article

const article = await client.getArticle(slug);

Contributing

Contributions are welcome. Please open an issue or submit a pull request for any bugs, features, or improvements.

License

This project is licensed under the MIT License.

Contact

For additional assistance or information, feel free to reach out.


Revolutionize your website's content strategy with real-time, automated, SEO-optimized blog posts. Get started with SEObot AI Blog Autopilot integration today!