1.0.1 • Published 4 years ago

@jamify/js-client v1.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
4 years ago

Javascript Client for Jamify API

This package is designed to work with the Jamify Cloud API which is not yet published. Follow us on Twitter for exciting upcoming announcements!

🚀 Quick start

  1. Install the client

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

    import { jamify } from '@jamify/js-client'
    
    const jamifyAPI = new jamify('<YOUR JAMIFY API ACCESS TOKEN>')
    
    // make an API call
    const siteId = 'your-site-id'
    const imagePath = './astronaut.png'
    
    const uploadedImage = await jamifyAPI.upload(siteId, imagePath)
    console.log(uploadedImage)

🔑 Jamify API Tokens

Go to your Jamify Cloud Access tab and create a new token.

Copyright & License

Copyright (c) 2020 styxlab - Released under the MIT license.