![]() |
VOOZH | about |
dotnet add package Uniquery --version 1.0.1
NuGet\Install-Package Uniquery -Version 1.0.1
<PackageReference Include="Uniquery" Version="1.0.1" />
<PackageVersion Include="Uniquery" Version="1.0.1" />Directory.Packages.props
<PackageReference Include="Uniquery" />Project file
paket add Uniquery --version 1.0.1
#r "nuget: Uniquery, 1.0.1"
#:package Uniquery@1.0.1
#addin nuget:?package=Uniquery&version=1.0.1Install as a Cake Addin
#tool nuget:?package=Uniquery&version=1.0.1Install as a Cake Tool
Everything in this repo has been coded from scratch during the Polkadot Global Series hackathon (3 – 23 July 2023).
This project is production ready.
Easy to use tool for querying indexed NFT data.
This is a c# implementation of Uniquery with many improvements on top.
getClient("name") has been replaced with static functions.Uniquery.Universal - very cozy way to query data from multiple endpoints at the same time.Nuget package: https://www.nuget.org/packages/Uniquery/
dotnet add package Uniquery
Originally, I just wanted query NFT data to display them in PlutoWallet. Afterwards, I received request from Kodadot to make a full c# implementation, hence, here it is.
This tool will be useful to many people and will significantly simplify the querying of NFT data.
Without Uniquery you would have to write something like this:
query itemListByCollectionIdList {
nft: nftEntities(where: { collection: { id_eq: "7EA1DCF47E98A25067-CAVE" }}) {
id
metadata
currentOwner
issuer
}
}
With Uniquery you can write this:
string id = "7EA1DCF47E98A25067-CAVE";
var nfts = await Uniquery.Rmrk.NftListByCollectionId(id);
One of the major improvements over the original Kodadot/Uniquery js package is the inclusion of
Uniquery.Universal
Without Uniquery.Universal you would have to write something like this:
string address = "5HGuhwGJZC5zvWQm1kGpobJxwAv6bUtKyLGjKL7m2YaJtmDQ";
List<Nft> nfts = new List<Nft>();
nfts.AddRange(await Rmrk.NftListByOwner(address, limit, offset, orderBy, forSale, eventsLimit));
nfts.AddRange(await RmrkV2.NftListByOwner(address, limit, offset, orderBy, forSale, eventsLimit));
nfts.AddRange(await Unique.NftListByOwner(address, limit, offset));
nfts.AddRange(await Quartz.NftListByOwner(address, limit, offset));
nfts.AddRange(await Opal.NftListByOwner(address, limit, offset));
nfts.AddRange(await Basilisk.NftListByOwner(address, limit, offset, orderBy, forSale, eventsLimit));
nfts.AddRange(await Glmr.NftListByOwner(address, limit, offset, orderBy, forSale, eventsLimit));
nfts.AddRange(await Movr.NftListByOwner(address, limit, offset, orderBy, forSale, eventsLimit));
nfts.AddRange(await Acala.NftListByOwner(address, limit, offset));
nfts.AddRange(await Astar.NftListByOwner(address, limit, offset));
nfts.AddRange(await Shiden.NftListByOwner(address, limit, offset));
With Uniquery.Universal you can write this:
string address = "5HGuhwGJZC5zvWQm1kGpobJxwAv6bUtKyLGjKL7m2YaJtmDQ";
List<Nft> nfts = Uniquery.Universal.NftListByOwner(address);
In-code documentation with wispering and examples is also included: <img width="1003" alt="Screenshot 2023-07-07 at 11 49 19" src="https://github.com/RostislavLitovkin/Uniquery.Net/assets/77352013/d543d139-d508-4e90-a497-34b3e0b18785">
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net7.0 net7.0 is compatible. net7.0-android net7.0-android was computed. net7.0-ios net7.0-ios was computed. net7.0-maccatalyst net7.0-maccatalyst was computed. net7.0-macos net7.0-macos was computed. net7.0-tvos net7.0-tvos was computed. net7.0-windows net7.0-windows was computed. net8.0 net8.0 was computed. net8.0-android net8.0-android was computed. net8.0-browser net8.0-browser was computed. net8.0-ios net8.0-ios was computed. net8.0-maccatalyst net8.0-maccatalyst was computed. net8.0-macos net8.0-macos was computed. net8.0-tvos net8.0-tvos was computed. net8.0-windows net8.0-windows was computed. net9.0 net9.0 was computed. net9.0-android net9.0-android was computed. net9.0-browser net9.0-browser was computed. net9.0-ios net9.0-ios was computed. net9.0-maccatalyst net9.0-maccatalyst was computed. net9.0-macos net9.0-macos was computed. net9.0-tvos net9.0-tvos was computed. net9.0-windows net9.0-windows was computed. net10.0 net10.0 was computed. net10.0-android net10.0-android was computed. net10.0-browser net10.0-browser was computed. net10.0-ios net10.0-ios was computed. net10.0-maccatalyst net10.0-maccatalyst was computed. net10.0-macos net10.0-macos was computed. net10.0-tvos net10.0-tvos was computed. net10.0-windows net10.0-windows was computed. |
Showing the top 1 NuGet packages that depend on Uniquery:
| Package | Downloads |
|---|---|
|
PlutoFramework
All in one framework for creating web3 mobile applications. |
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated | |
|---|---|---|---|
| 1.0.1 | 479 | 11/3/2023 | 1.0.1 is deprecated because it is no longer maintained. |
| 1.0.0 | 318 | 7/19/2023 | 1.0.0 is deprecated because it is no longer maintained. |
| 0.1.4 | 344 | 7/18/2023 | 0.1.4 is deprecated because it is no longer maintained. |
| 0.1.3 | 338 | 7/13/2023 | 0.1.3 is deprecated because it is no longer maintained. |
| 0.1.2 | 329 | 7/13/2023 | 0.1.2 is deprecated because it is no longer maintained. |
| 0.1.1 | 325 | 7/13/2023 | 0.1.1 is deprecated because it is no longer maintained. |
| 0.1.0 | 332 | 7/13/2023 | 0.1.0 is deprecated because it is no longer maintained. |