π βοΈ VTEX platform .NET SDK.
Build status | Last commit | Tests | Coverage | Code Smells | LoC |
---|---|---|---|---|---|
Download the latest .zip
file from the Releases page.
Package | Version | Downloads |
---|---|---|
VTEX | ||
VTEX.Health |
- Full implementation of VTEX API.
- Refer to VTEX Developer Docs for more information.
Register the VTEX Service using the CrispyWaffle
toolkit's Service Locator:
var connectionVtex = new Connection(); // Fill in your details
ServiceLocator.Register(() => new VTEXContext(connectionVtex), LifeStyle.Singleton);
public class MyClass
{
private readonly VTEXContext _vtexContext;
public MyClass(VTEXContext vtexContext)
{
_vtexContext = vtexContext ?? throw new ArgumentNullException(nameof(vtexContext));
}
}
var vtexContext = ServiceLocator.Resolve<VTEXContext>();
Authenticate with VTEX platform API keys. Refer to this tutorial.
var vtex = new VTEXContext("store name", "app-key-xyz", "app-token-secret-hash");
var order = vtex.GetOrder("V-123456789-01");
Console.WriteLine($"Sequence: {order.Sequence} | Value: {order.Value}");
If you need help, feel free to open an issue.
Contributions are welcome! Check out the CONTRIBUTING.md guide for details.
Thanks to all contributors! π
Guilherme Branco Stracini |
JoΓ£o VΓtor Valadares |
Viktorius Suwandi |
dependabot[bot] |
github-actions[bot] |
penify-dev[bot] |
stack-file[bot] |
codefactor-io[bot] |
Snyk bot |