Skip to content

oncoursesystems/domo-sdk

Repository files navigation

Domo logo

OnCourse.Domo

License: MIT Build Status NuGet Version

OnCourse.Domo is a .NET SDK library used to communicate with the Domo API

✔ Features

This SDK supports the following Domo platform (OAuth) APIs:

API Description Supported
Account The Account API allows you to create, update, validate and share accounts in Domo.
Activity Log The Activity Log API enables retrieving activity log entries from your Domo instance.
DataSet The DataSet objects allows you to create, import, export and manage DataSets and manage data permissions for DataSets within Domo.
Embed Token The Embed Token API allows you to automate the creation of embed tokens for use with programmatic filtering.
Group Group objects allow you to manage a group and users associated to a group.
Page The Page API allows you to create, delete, retrieve a page or a list of pages, and update page information and content within a page.
Projects and Tasks “Projects and Tasks” is a project management tool that helps you take real action with simple planning, assigning, and task-tracking features.
Simple The Simple API allows you to create new DataSets and import data into the DataSets in your Domo instance.
Stream The Stream API allows you to automate the creation of new DataSets in your Domo Warehouse, featuring an accelerated upload Stream.
User User objects allow you to manage a user and the user’s attributes such as a department, phone number, employee number, email, and username.

⭐ Installation

This project is a class library built for compatibility all the back to .NET Standard 2.0. It has no external dependencies.

To install the OnCourse.Domo NuGet package, run the following command via the dotnet CLI

dotnet add package OnCourse.Domo

Or run the following command in the Package Manager Console of Visual Studio

PM> Install-Package OnCourse.Domo

📕 General Usage

Check the Domo developer website for the list of all available endpoints and instructions on setting up your Client ID and Client Secret

var config = new DomoConfig()
{
    ClientId = "{Your Domo Client App Id}",
    ClientSecret = "{Your Domo Client App Secret}"
};
var client = new DomoClient(config);
var groups = await client.Groups.ListGroupsAsync(offset, 50);