Liquiid.io.AtomicMarket
1.1.0
dotnet add package Liquiid.io.AtomicMarket --version 1.1.0
NuGet\Install-Package Liquiid.io.AtomicMarket -Version 1.1.0
<PackageReference Include="Liquiid.io.AtomicMarket" Version="1.1.0" />
paket add Liquiid.io.AtomicMarket --version 1.1.0
#r "nuget: Liquiid.io.AtomicMarket, 1.1.0"
// Install Liquiid.io.AtomicMarket as a Cake Addin #addin nuget:?package=Liquiid.io.AtomicMarket&version=1.1.0 // Install Liquiid.io.AtomicMarket as a Cake Tool #tool nuget:?package=Liquiid.io.AtomicMarket&version=1.1.0
<div align="center"> <img src="https://avatars.githubusercontent.com/u/82725791?s=200&v=4" align="center" alt="Liquiid logo" width="280" height="300"> </div>
<div align="center">
</div>
AtomicMarketApiClient
.NET and Unity3D-compatible (Desktop, Mobile, WebGL) ApiClient for AtomicMarket
Installation
Requires Unity 2019.1+ with .NET 4.x+ Runtime
This package can be included into your project by either:
- Installing the package via Unity's Package Manager (UPM) in the editor (recommended).
- Importing the .unitypackage which you can download here.
- Manually add the files in this repo.
- Installing it via NuGet.
1. Installing via Unity Package Manager (UPM).
In your Unity project:
Open the Package Manager Window/Tab
Click on + icon and then click on "Add Package From Git URL"
Enter URL:
https://github.com/liquiidio/AtomicMarketApiClient.git#upm
2. Importing the Unity Package.
Download the UnityPackage here.
Then in your Unity project:
Open up the import a custom package window
Navigate to where you downloaded the file and open it.
Check all the relevant files needed (if this is a first time import, just select ALL) and click on import.
3. Install manually.
Download the latest Release.
Then in your Unity project, copy the sources from AtomicMarketApiClient
into your Unity Assets
directory.
4. Install via NuGet (for Standard .NET users only - No Unity3D)
.NET CLI
> dotnet add package Liquiid.io.AtomicMarket
Package Manager
PM> Install-Package Liquiid.io.AtomicMarket
Usage
.NET and Unity3D-compatible (Desktop, Mobile, WebGL) ApiClient for the different APIs. Endpoints have its own set of parameters that you may build up and pass in to the relevant function.
Examples
Example calling the /v1/assets endpoint
Initialise the Assets API
var assetsApi = AtomicAssetsApiFactory.Version1.AssetsApi;
Call the assets endpoint
var assets = await assetsApi.Assets();
Print all asset ids
assets.Data.ToList().ForEach(a => Console.WriteLine(a.AssetId));
Example output
1099567200114
1099567200113
1099567200112
1099567200111
1099567200110
1099567200109
1099567200108
1099567200107
1099567200106
...
Example calling the /v1/assets endpoint with parameters
Initialise the Assets API
var assetsApi = AtomicAssetsApiFactory.Version1.AssetsApi;
Build up the AssetsParameters with the AssetsUriParameterBuilder
var builder = new AssetsUriParameterBuilder().WithLimit(1);
Call the assets endpoint, passing in the builder
var assets = await assetsApi.Assets(builder);
Print all asset ids
assets.Data.ToList().ForEach(a => Console.WriteLine(a.AssetId));
Example output
1099567200114
1099567200113
1099567200112
1099567200111
1099567200110
1099567200109
1099567200108
1099567200107
1099567200106
....
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
.NET Core | netcoreapp3.1 is compatible. |
-
.NETCoreApp 3.1
- Newtonsoft.Json (>= 13.0.1)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.