Skip to content

TobiHatti/Atlas-API-Wrapper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

39 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

ATLAS API-Wrapper

GitHub GitHub Release Date GitHub release (latest by date including pre-releases) GitHub last commit GitHub issues GitHub language count

image

A Simple wrapper-class for the Atlas-API. Compatible for C# and VB.Net

NOTE: You might have to install the Newtonsoft.Json NuGet-Package

Usage (VB.Net)

' Create a connection to the Server
Dim fetcher As AtlasWrapper.AtlasWrapper = New AtlasWrapper.AtlasWrapper("https://sample.serviceprovider.com/atlas", "samplePassword")

' Get Response
' Gets the response from https://sample.serviceprovider.com/atlas/myCall/myCustomParameters
Dim reply = fetcher.GetResponse("myCall/myCustomParameters")

' Custom API-Request
Dim customA = fetcher.CustomRequest("https://sample.serviceprovider.com/atlas/sampleUser/tasks")
Dim customB = AtlasWrapper.AtlasWrapper.CustomRequest("https://sample.serviceprovider.com/atlas/sampleUser/tasks", "samplePassword")

Usage (C#)

// Create a connection to the Server
AtlasWrapper.AtlasWrapper fetcher = new AtlasWrapper.AtlasWrapper("https://sample.serviceprovider.com/atlas", "samplePassword");

// Get Response
// Gets the response from https://sample.serviceprovider.com/atlas/myCall/myCustomParameters
dynamic reply = fetcher.GetResponse("myCall/myCustomParameters");

// Custom API-Request
dynamic customA = fetcher.CustomRequest("https://sample.serviceprovider.com/atlas/sampleUser/tasks");
dynamic customB = AtlasWrapper.AtlasWrapper.CustomRequest("https://sample.serviceprovider.com/atlas/sampleUser/tasks", "samplePassword");