GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - Square-Developers/python-getting-started: Quickly get started with Square's Developer Platform

BranchesTags
Open more actions menu

Latest commit

 

History

4 Commits
4 Commits

Folders and files

NameName
Last commit message
Last commit date
quickstart
quickstart
 
 
README.md
README.md
 
 

Repository files navigation

Square Python 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 Python SDK Quickstart guide.

Setup

Install Python - If you don't have dotnet 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. Create a virtual environment

    $ python3 -m venv env
    
  4. Activate the environment

    $ source env/bin/activate
    
  5. Install dependencies

    $ pip3 install -r requirements.txt
    
  6. Install the latest Square SDK

    $ pip3 install squareup
    
  7. [optional] Install the legacy Square SDK, to run the legacy quickstart

    $ pip3 install squareup_legacy
    
  8. Run the code

    $ python3 ./quickstart.py
    
  9. You should see output similar to this in your console

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

Resources

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

Pip repository for Square - Where the package files are hosted

Python SDK Source Code - Github repo with sdk source code

About

Quickly get started with Square's Developer Platform

Resources

Readme
Activity
Custom properties

Stars

4 stars

Watchers

0 watching

Forks

1 fork
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.