Skip to content

This package provides Python functions to interact with the Spatially API.

Notifications You must be signed in to change notification settings

Spatially/py-spatially

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

py-spatially

Authorization:

A valid token must be passed when calling any function. To get this token use the api.GetToken function. Example:

applicationCode = "{your code}"
applicationKey = "{your key}"
token = api.GetToken(applicationCode, applicationKey)

Functions

Examples of calls to all functions can be found in the tests directory.

Grid Functions:

  • GetPopulation(token, wktPoint, radius)
  • GetTradeAreaPopulation(token, ata)
  • GetActivity(token,wktPoint, radius)
  • GetDistanceSensitivity(token, wktPoint, radius)
  • GetHighlights(token,wktPoint, radius)

ATA Functions:

  • NewATA(token,locationWKT,timeOfDay="AllDay", locationType="Home", geoFence=False)

About

This package provides Python functions to interact with the Spatially API.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages