{"id":18719738,"url":"https://github.com/marsx-dev/seobot","last_synced_at":"2025-12-25T09:19:38.513Z","repository":{"id":207620034,"uuid":"719706872","full_name":"MarsX-dev/seobot","owner":"MarsX-dev","description":null,"archived":false,"fork":false,"pushed_at":"2025-01-22T10:51:44.000Z","size":66,"stargazers_count":9,"open_issues_count":1,"forks_count":4,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-04-02T17:04:28.067Z","etag":null,"topics":["ai","blog","blog-article","seo"],"latest_commit_sha":null,"homepage":"https://seobotai.com","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/MarsX-dev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-11-16T18:22:52.000Z","updated_at":"2025-03-12T06:36:05.000Z","dependencies_parsed_at":"2023-11-16T19:25:13.653Z","dependency_job_id":"dd1ff594-518d-40bc-8952-310953b98d9f","html_url":"https://github.com/MarsX-dev/seobot","commit_stats":{"total_commits":17,"total_committers":1,"mean_commits":17.0,"dds":0.0,"last_synced_commit":"6160c9cff1b9215fe2f5ffd9eb8dd8a180a8c26d"},"previous_names":["marsx-dev/seobot"],"tags_count":14,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MarsX-dev%2Fseobot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MarsX-dev%2Fseobot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MarsX-dev%2Fseobot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MarsX-dev%2Fseobot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MarsX-dev","download_url":"https://codeload.github.com/MarsX-dev/seobot/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248578872,"owners_count":21127713,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ai","blog","blog-article","seo"],"created_at":"2024-11-07T13:27:41.623Z","updated_at":"2025-12-25T09:19:38.507Z","avatar_url":"https://github.com/MarsX-dev.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# [SEObot](https://seobotai.com/?utm_source=github) Blog API Client library\n\n## Overview\n\nElevate 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.\n\n## Demo\n\nVisit the [DevHunt Blog](https://devhunt.org/blog?utm_source=github) to check out an example of SEObot Blog API integration.\n\nCheckout Next.js integration example at [seobot-nextjs-blog](https://github.com/MarsX-dev/seobot-nextjs-blog) repository.\n\n## Prerequisites\n\n**SEObot API Key** - you can find the API key in settings on [app.seobotai.com](https://app.seobotai.com/?utm_source=github)\n\n## Features\n\n- Fetch articles by page and limit.\n- Retrieve articles based on categories or tags.\n- Access detailed information about a specific article.\n- Built-in caching mechanism for efficient data retrieval.\n\n## Installation\n\nTo install the [seobot npm package](https://www.npmjs.com/package/seobot), run:\n\n```bash\nnpm install seobot\n```\n\n## Usage\n\n```typescript\nimport { BlogClient } from 'seobot';\n\nconst client = new BlogClient('your_seobot_api_key_here');\n```\n\n### Fetching Articles\n\n```typescript\n// Note: page parameter is zero-based (0 = first page, 1 = second page, etc.)\nconst articles = await client.getArticles(page, limit);\n```\n\n### Fetching Articles by Category\n\n```typescript\n// Note: page parameter is zero-based (0 = first page, 1 = second page, etc.)\n const articles = await client.getCategoryArticles(categorySlug, page, limit);\n```\n\n### Fetching Articles by Tag\n\n```typescript\n// Note: page parameter is zero-based (0 = first page, 1 = second page, etc.)\nconst articles = await client.getTagArticles(tagSlug, page, limit);\n```\n\n### Getting a Single Article\n\n```typescript\nconst article = await client.getArticle(slug);\n```\n\n## Data Types\n\n```typescript\ninterface IArticle {\n  id: string;\n  slug: string;\n  headline: string;\n  metaDescription: string;\n  metaKeywords: string;\n  tags: ITag[];\n  category: ICategory;\n  readingTime: number;\n  html: string;\n  markdown: string;\n  outline: string;\n  deleted: boolean;\n  published: boolean;\n  publishedAt: string;\n  createdAt: string;\n  updatedAt: string;\n  relatedPosts: IRelatedPost[];\n  image: string;\n  isTool?: boolean;\n  isVideo?: boolean;\n  isNews?: boolean;\n}\n\ninterface ITag {\n  id: string;\n  title: string;\n  slug: string;\n}\n\ninterface ICategory {\n  id: string;\n  title: string;\n  slug: string;\n}\n\ninterface IRelatedPost {\n  id: string;\n  headline: string;\n  slug: string;\n}\n```\n\n## Contributing\n\nContributions are welcome. Please open an issue or submit a pull request for any bugs, features, or improvements.\n\n## License\n\nThis project is licensed under the MIT License.\n\n## Contact\n\nFor additional assistance or information, feel free to reach out.\n\n---\n\nRevolutionize your website's content strategy with real-time, automated, SEO-optimized blog posts. Get started with [SEObot](https://seobotai.com/?utm_source=github) AI Blog Autopilot integration today!","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarsx-dev%2Fseobot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmarsx-dev%2Fseobot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarsx-dev%2Fseobot/lists"}