JSPM

@jamify/js-client

1.0.1
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • 0
  • Score
    100M100P100Q17432F
  • License MIT

Javascript API Client for Jamify Cloud

Package Exports

  • @jamify/js-client

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@jamify/js-client) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

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.