Libraries / SDKs

Currently, we have libraries for the following languages:

Node

npm install @dudadev/partner-api --save
// or
yarn add @dudadev/partner-api
const { Duda } = require('@dudadev/partner-api');

const duda = new Duda({
  user: process.env.DUDA_API_USER,
  pass: process.env.DUDA_API_PASS,
});

duda.sites.get({ site_name: "a-site-name" })
  .then((site) => console.log(site))
  .catch((error) => console.error(error));

Don't see your favorite language?
Let us know if you want (or are interested in writing) a library for a language not represented here!