ScientificBit.Shopify
0.1.5-alpha
dotnet add package ScientificBit.Shopify --version 0.1.5-alpha
NuGet\Install-Package ScientificBit.Shopify -Version 0.1.5-alpha
<PackageReference Include="ScientificBit.Shopify" Version="0.1.5-alpha" />
<PackageVersion Include="ScientificBit.Shopify" Version="0.1.5-alpha" />
<PackageReference Include="ScientificBit.Shopify" />
paket add ScientificBit.Shopify --version 0.1.5-alpha
#r "nuget: ScientificBit.Shopify, 0.1.5-alpha"
#addin nuget:?package=ScientificBit.Shopify&version=0.1.5-alpha&prerelease
#tool nuget:?package=ScientificBit.Shopify&version=0.1.5-alpha&prerelease
Introduction
Do you struggle while consuming Shopify GraphQL APIs? ScientificBit.Shopify package simplifies connectivity with Shopify Storfront and Admin APIs.
How to Integrate
The package is built for .NET Core 8, and supports latest Shopify API version (2025-01). <br/><br/> He is how you can configure this package for Shopify APIs access:
Configure Shopify APIs
builder.Services.AddShopify(opts =>
{
opts.Configuration = builder.Configuration.GetSection("Shopify");
opts.MultipassSecret = ""; // TODO: Read from ENV
opts.StoreDomain = "https://www.scientificbit.com"; // Your store website
opts.AddSalesChannelTokens("sb", "shopify-admin-token", "shopify-storefront-token", "shopify-api-secret");
});
Add Shopify Webhook Authentication
builder.Services.AddAuthentication()
.AddShopifyWebhookAuthentication(ShopifyAuthSchemes.ShopifyWebhookAuth);
OR with your own scheme name
builder.Services.AddAuthentication()
.AddShopifyWebhookAuthentication("MyWebhookAuth");
Sample Shopify AppSettings.json
{
"Shopify": {
"ApiVersion": "2025-01",
"ShopifyBaseUrl": "https://sb2.myshopify.com",
"StoreDomain": "www.scientificbit.com",
"SalesChannels": [
{
"SalesChannelId": "sb",
"AdminApiToken": "",
"StorefrontApiToken": "",
"WebhookApiSecret": "",
"DefaultMetafieldsNamespace": "sb-ecom-app",
"DefaultInventoryLocationId": "1231231232"
}
]
},
}
Documentation
Please refer code and inline docs
Contribution
Contribution guidelines will be added shortly
Support The Developer
Please support me to help cover ongoing development, infrastructure costs, and the potential expansion of the project (including new features, testing, and documentation). <br/> Please contact asif@scientificbit.com for donations
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net7.0 is compatible. 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 is compatible. 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. net9.0 is compatible. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net7.0
- GraphQL.Client (>= 6.1.0)
- GraphQL.Client.Serializer.Newtonsoft (>= 6.1.0)
- Refit.HttpClientFactory (>= 7.0.0)
- Refit.Newtonsoft.Json (>= 7.0.0)
- Serilog.AspNetCore (>= 7.0.0)
-
net8.0
- GraphQL.Client (>= 6.1.0)
- GraphQL.Client.Serializer.Newtonsoft (>= 6.1.0)
- Refit.HttpClientFactory (>= 7.0.0)
- Refit.Newtonsoft.Json (>= 7.0.0)
- Serilog.AspNetCore (>= 7.0.0)
-
net9.0
- GraphQL.Client (>= 6.1.0)
- GraphQL.Client.Serializer.Newtonsoft (>= 6.1.0)
- Refit.HttpClientFactory (>= 7.0.0)
- Refit.Newtonsoft.Json (>= 7.0.0)
- Serilog.AspNetCore (>= 7.0.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last Updated | |
---|---|---|---|
0.1.5-alpha | 107 | 6/23/2025 | |
0.1.4-alpha | 164 | 2/16/2025 | |
0.1.2-alpha | 86 | 2/11/2025 | |
0.1.1-alpha | 79 | 2/11/2025 |