Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is this project still active? #67

Open
mitchmalone opened this issue Dec 17, 2024 · 1 comment
Open

Is this project still active? #67

mitchmalone opened this issue Dec 17, 2024 · 1 comment

Comments

@mitchmalone
Copy link

mitchmalone commented Dec 17, 2024

Is this project still active? When using the sample code it returns an error. Before I spend any time working things out I thought I'd check.

Code
const putioAPI = new PutioAPI({ clientID: OAUTH_TOKEN })

Error Message

const putioAPI = new PutioAPI({ clientID: OAUTH_TOKEN })
                 ^

TypeError: PutioAPI is not a constructor
    at file:///Users/mitch/Developer/mitch/putdotioconverter/index.js:7:18
    at ModuleJob.run (node:internal/modules/esm/module_job:218:25)
    at async ModuleLoader.import (node:internal/modules/esm/loader:329:24)
    at async loadESM (node:internal/process/esm_loader:34:7)
    at async handleMainPromise (node:internal/modules/run_main:113:12)

Node.js v20.10.0
@altaywtf
Copy link
Collaborator

hey @mitchmalone yes and I'm working on a new version with better types etc.

this one is somewhat active but I'd suggest checking out our API docs http://api.put.io
if you have simpler needs.

the issue you've shared seems to be related to ES modules. is it possible for you to share an example repository so I can see your configuration?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants