Skip to content

blogody/api-client

Repository files navigation

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

About

Blogody API Client for your JavaScript/TypeScript projects

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published