Skip to content

Square-Developers/node-getting-started

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

Square Node SDK Quickstart

This quickstart sample creates a Square client instance with your Square access token and then lists the locations in your account. The sample is based on the Node SDK Quickstart guide.

Setup

Install Node - If you don't have Node already installed on your machine.

Quickstart instructions

  1. Change into the quickstart directory

  2. copy .env.example to .env and replace with your access token

    SQUARE_ACCESS_TOKEN=yourSandboxAccessToken
    
  3. Install latest version of the square SDK

    $ npm install square
    
  4. Run the code

    $ npm run start
    
  5. You should see output similar to this in your console

    LHJ3ZXJ9RSV8X: Default Test Account, 1600 Pennsylvania Ave NW, Washington
    

Resources

Square Node SDK Guide - details on how to use / configure the Square client.

NPM repository for Square - Where the package files are hosted

Node SDK Source Code - Github repo with sdk source code

About

Quickly get started with Square's Developer Platform

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published