@blogody/api-client
TypeScript icon, indicating that this package has built-in type declarations

2.28.0 • Public • Published

Blogody API Client for your JavaScript/TypeScript projects

An isomorphic JavaScript/TypeScript client for Blogody. This package makes pulling data from headless Blogody CMS a breeze.

🚀 Quick start

  1. Install the client

    yarn add @blogody/api-client
  2. Use the client in your js/ts projects

    import { BlogodyAPI } from '@blogody/api-client'
    
    const api = new BlogodyAPI({ key: 'YOUR BLOGODY API ACCESS KEY' })
    
    // make an API calls
    const settings = await api.settings()
    const posts = await api.posts()
    
    console.log(posts)

🔑 Blogody API Keys

Go to your Blogody account and create a new key under Settings > Developers.

Copyright & License

Copyright (c) 2021 Blogody - Released under the MIT license.

Library makers:

https://github.com/bitjson/typescript-starter https://github.com/alexjoverm/typescript-library-starter

Readme

Keywords

none

Package Sidebar

Install

npm i @blogody/api-client

Weekly Downloads

2

Version

2.28.0

License

MIT

Unpacked Size

84.9 kB

Total Files

39

Last publish

Collaborators

  • styxlab