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
-
Install the client
yarn add @jamify/js-client
-
Use the client in your js/ts projects
import { jamify } from '@jamify/js-client'
const jamifyAPI = new jamify('<YOUR JAMIFY API ACCESS TOKEN>')
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.