Contents tagged with Walmart

  • How to get response from Walmart

    Hello everybody,

    today I want to share with the world another piece of code, producing of which took me significant amount of efforts, getting response from Walmart.

    Yesterday I've posted code that signs provided by Walmart credentials.

    And today I decided to post code that retrieves orders information from Walmart.

    private void MakeRequests()

    {

    HttpWebResponse response;

    if (Request_marketplace_walmartapis_com(out response))

    {

    response.Close();

    }

    }

    private bool Request_marketplace_walmartapis_com(out HttpWebResponse response)

    {

    response = null;

    try

    {

    HttpWebRequest request = (HttpWebRequest)WebRequest.Create("https:// … more

  • Walmart signer

    Hello everybody,

    today I want to preserve at my blog piece of code that almost eaten my brain. Walmart signer. 

    using System;

    using System.Collections.Generic;

    using System.ComponentModel;

    using System.Linq;

    using System.Text;

    using System.Threading.Tasks;

    using System.Globalization;

    using Org.BouncyCastle.Crypto.Parameters;

    using Org.BouncyCastle.Security;

    namespace Walmart

    {

    public class WallmartSigner

    {

    /// <summary>

    /// Begining of time according to Java world.

    /// </summary>

    private static readonly DateTime JanuaryFirst1970 = new DateTime(1970, 1, 1, 0, 0, 0, DateTimeKind.Utc);

    /// <summary>

    /// … more