Skip to content
No description, website, or topics provided.
C# PowerShell
Branch: master
Clone or download

Latest commit

Fetching latest commit…
Cannot retrieve the latest commit at this time.

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.nuget
TraitifyConsoleApp
TraitifyDesktopApp
TraitifyLibrary
TraitifyUnitTests
packages
.gitignore
CreateNugetPackage.ps1
LICENSE
README.md
TraitifyConsoleApp.sln

README.md

traitify.net

Traitify is a .NET 4 wrapper for the Traitify Developer's API.

Installation

Include the TraitifyLibrary in your Visual Studio solution.

or use Nuget

Install-Package TraitifyLibrary https://www.nuget.org/packages/TraitifyLibrary/1.0.0

##Usage

Config

  Traitify traitify = new Traitify("https://api-domain.com", "--Your Public Key--", "--Secret Key--", "v1");

Create Assessment

  String deck_id = "--Your Deck Id--";
  Assessment assessment = traitify.CreateAssessment(deck_id);
  Console.WriteLine("AssessmentId: " + assessment.id);

Get Assessment

  String assessment_id = "--Your assessment Id--";
  Assessment assessment = traitify.GetAssessment(assessment_id);
  Console.WriteLine("AssessmentId: " + assessment.id);

Get Assessment Slides

  String assessment_id = "--Your assessment Id--";
  List<Slide> slides = traitify.GetSlides(assessment_id);
  Console.WriteLine("SlideId: " + slides[0].id);

Set Assessment Slide

  String assessment_id = "--Your assessment Id--";
  String slide_id = "--Your slide Id--";
  traitify.SetSlide(assessment_id, slide_id);

Get Assessment Personality Types

  String assessment_id = "--Your assessment Id--";
  List<PersonalityType> personalityTypes = traitify.GetPersonalityTypes(assessment_id);
  Console.WriteLine("Type: " + personalityTypes[0].name);

Get Assessment Personality Traits

  String assessment_id = "--Your assessment Id--";
  List<PersonalityTrait> personalityTraits = traitify.GetPersonalityTraits(assessment_id);
  Console.WriteLine("Trait: " + personalityTraits[0].name);

Release History

  • 0.1.0 Initial release
You can’t perform that action at this time.