@jamify/js-client

Javascript API Client for Jamify Cloud

Usage no npm install needed!

<script type="module">
  import jamifyJsClient from 'https://cdn.skypack.dev/@jamify/js-client';
</script>

README

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.