MeyerCorp.Square.V1

A .NET Core based SDK for the Square V1 API


Keywords
Square, API, Rest, .NETCore, SDK
License
MIT
Install
Install-Package MeyerCorp.Square.V1 -Version 0.3.2

Documentation

Meyer Square V1 SDK for .NET Core

A software development kit in .NET Core for the Square API (V1)

Getting Started

  1. Use NuGet to include this in any .NET Core 2.1 project.

    Package-Install MeyerCorp.Square.V1

    Then write some code:

    using Microsoft.Rest;
    using Meyer.Square.V1;
    
    var credentials = new TokenCredentials(<your token>) as ServiceClientCredentials;
    
    using (var client = new Client(new Uri(baseurl), credentials)
    {
    	LocationId = "<your location ID>",
    })
    {
    	var payments = await client.PaymentOperations.ListAsync();
    }
    

Prerequisites

  • Create a developer account at Square.

Installing

Simply add to your .NET Core or .NET Framework based project using NuGet:

Install-Package MeyerCorp.Square.V1

Running the tests

(Check back soon.)

Break down into end to end tests

(Check back soon.)

(Check back soon.)

And coding style tests

(Check back soon.)

(Check back soon.)

Built With

Contributing

Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.

Authors

  • Daniel Przybylski - Initial work - GitHub

License

This project is licensed under the MIT License - see the LICENSE.md file for details

Acknowledgments

  • The architecture is heavily based on the Microsoft REST Client architecture generated when using a Open API standard to generated a REST API Client.